-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method db.collection.distinct is not implemented. #6
Comments
Hello @lala7573, Though |
The problem is that MongoDB did not provide a way to execute shell scripts outside the command-line shell. |
Using the latest of DataGrip (2021.1.3) the issue is still present. Any update? |
Hello @alexander-alegre, |
Hi all! But there is a limitation unfortunately: all values should be of one type because Java driver for MongoDB requires you to specify type for value comparison. In my implementation I use type of the first value in a given field. |
Using the latest of DataGrip (2021.2.2) MongoDB Driver Version 1.12 the issue is still present. Any update? Thanks |
DataGrip 2021.2.4 and the issue is still present |
@rahulroy9202, could you please share a command that you run and an error that you get? @GilbertOstlethwaite, you need to update driver. Go to data source connection page, choose |
Hi @kornilova203 I have updated to 2021.2.4 since and tried distinct. It works for me now. Thank You |
@rahulroy9202, |
Hi, I'm using DataGrip with mongodb driver and faced error
And found out it's really not implemented.
https://github.com/DataGrip/mongo-jdbc-driver/blob/master/src/main/java/com/dbschema/mongo/nashorn/JMongoCollection.java#L66
Is there any plan to support this? and why doesn't it work?
The text was updated successfully, but these errors were encountered: