Syntax error near 'db' db.system.profile.find

i am using Studio 3T.
When i try to run
db.system.profile.find({“millis”:{$gt:10}}) .sort({millis:-1})

getting below error:
Failed to parse SQL query at cursor

Syntax error near ‘db’

db.system.profile.find({“millis”:{$gt:10}}) .sort({millis:-1}) (on line 1, character 0)

Stacktrace:
|/ t3.utils.a.a: Syntax error near ‘db’
|

|… db.system.profile.find({“millis”:{$gt:10}}) .sort({millis:-1}) (on line 1, character 0)
|
___/ org.antlr.v4.runtime.InputMismatchException

This topic was automatically closed after 180 days. New replies are no longer allowed.