You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Run custom query directly from MongoDB but return results through parse-server #192
I need to run some complex queries (with aggregate functions and etc) which are not supported by the SDK. Perhaps I could construct my own query and send the query to mongo db directly from the cloud code using MongoClient. Once I get the results back, I want to transform them to Parse.Object and return them to the js client.
Is the following the right place to start with? Is it as simple as iterating the results and calling untransformObject()? Is there anything hidden that I'm not aware of that this approach would unlikely to work?
Activity
gfosco commentedon Feb 5, 2016
I'd say give it a shot... If you run in to problems, let me know. 👍
tarekskr commentedon Dec 28, 2016
Where you able to do this @5amfung ?
chlebta commentedon Mar 23, 2017
@5amfung @tarekskr @gfosco
Is there any help for this ?
I need to run a complexe query where I've to use join and count