Integration with Rethinkdb


#1

Is there a way I could use rethinkdb with electron?

I can’t seem to be able to connect the usual way. The callback inside the connect method doesn’t seem to get passed a valid connection.

r.connect({ host: ‘localhost’,
port: 28015,
db: ‘marvel’,
authKey: ‘hunter2’ },
function(err, conn) { … })


#2

perhaps because the electron compiles everything to be run in the browser and it would be difficult to open another connection with the rethinkdb, i am starting and i’m the searching for solution. Any solution shows the code for us too