I'm using RethinkDB with Rethinkdbdash (node.js) and for a few days now Im getting this error:
Unhandled rejection (<[{"entries":3,"id":1357186,"item":{"co...>, no stack trace)
Doesn't matter what query do I run, when i try to get any info from the database I always get the same error. If nothing is returned, error looks like this:
Unhandled rejection (<(empty array)>, no stack trace)
This is my current code:
r.table('example').run().then(function(err, result){ if(err) throw err; console.log(result); })
You would need to include the
database: 'databasename'
field in the config object and pass the config object into run, otherwise you could try to specify the db in your ReQL query.Specify db for connection:
Specify db in query: