FerretDB
FerretDB copied to clipboard
Implement `distinct` command
https://www.mongodb.com/docs/manual/reference/command/distinct/
I'd be interested in implementing this if possible, are there any examples of other commands implemented?
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/pg/msg_count.go is probably the most similar
So, are both Postgres and Tigris in scope as usual?
Potentially tricky part: nested objects
I guess collation is not in the scope too.
One more question: how should results be sorted if we in the given field we have data of different types
@AlekSi please answer the questions above ^
So, are both Postgres and Tigris in scope as usual?
Yes, as usual
I guess collation is not in the scope too
It would be weird to start supporting collations (#10) in this issue
One more question: how should results be sorted if we in the given field we have data of different types
Compatibility tests should pass