In mongo shell I can do this
db.collection.runCommand( 'text', { search: 'query' } )
And how can I get this with mongodb-native and node.js?
I tried to do something like this
db.executeDbCommand( 'text', { search:'query' }, function(e, o) {
if (e) {
callback(e)
}
else callback(o)
});
and it's failed