I have been looking around in the internet on how to query MongoDB using Deepstream. I followed their documentation but it is not working, here is my sample code:
const testQuery = JSON.stringify({
table: 'test',
query: [
[ 'name', 'eq', 'test2' ]
]
})
const results = client.record.getList('search?' + testQuery);
results.whenReady((res)=>{
console.log(results);
})
Is there something missing? I am not using RethinkDB, I am connected directly to my mongonDb. Thanks in advance.