Skip to content

Conversation

@parrish
Copy link
Contributor

@parrish parrish commented Feb 6, 2015

Using group instead of distinct will still return unique records, but also works with PG JSON columns.

…nique records -- plays nicely with JSON columns.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not immediately obvious (it wasn't to me anyway), but specifying the table name is necessary to avoid ambiguity with the joined table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant