Replies: 1 comment 1 reply
-
Given your example I'm not sure I can follow. There is already support for Or do you look for passing more than one value to distinct? In that case: Yes that's not supported yet. The situation there is as with all the other issues/request to allow tuples there: It needs someone that work on a design first. We are open to suggestions there. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An issue/discussion might already exist about this, although I wasn't able to find one so sorry if it does (I seem to recall discussing this at some point, but maybe it was on Gitter).
I have a situation where I need to count distinct values in a column that is a composite type/tuple (Postgres). For a highly contrived example:
The current count functions (along with other similar functions) restrict the expression to
SingleValue
, however, which isn't implemented on tuples. Is there perhaps another more suitable that these bounds could be changed to, or perhaps a new trait for such values on the Postgres backend? Thoughts?Beta Was this translation helpful? Give feedback.
All reactions