-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Description
ArcadeDB Server v25.4.1-SNAPSHOT (build 7869b2c97e8b1fafdd150bd80e4e6b37304278e9/1744918618762/main)
Running on Mac OS X 15.4 - OpenJDK 64-Bit Server VM 21.0.6 (Homebrew)
Mongo queries fail from studio (given a database test):
CREATE DOCUMENT TYPE docINSERT INTO doc SET num = 1{ collection: doc, query: {} }
The problem seems to be that the response from the server is empty:
{}In comparison the same query via wget works:
$ wget -qO- "http://localhost:2480/api/v1/query/test" --post-data='{"language":"mongo","command":"{collection:doc,query: {}}","limit":25,"profileExecution":"basic","serializer":"studio"}' --user=root
the main cause is in : main/mongodbw/src/main/java/com/arcadedb/mongo/query/MongoQueryEngine.java#L76
Why are these null, in case mongo does not support "commands", couldn't then just queries be used?
possible solution: implement missing methods on MongodbQueryEngine
Reactions are currently unavailable