Closed kyranet closed 7 years ago
You have to connect to the db first. As in
r.db('war').table('guilds')
for example
unless your tables are in the test (default) database
@kyranet feel free to reopen if you still have an issue.
But the driver receive an error from the server, likely because you are reaching the wrong table or are doing an invalid query. Catch the error and print it if you need more help.
I have an application successfully working for months, and I used to test the functions with this package locally before pushing to my host. Despite of having
http://localhost:8080/#tables
running as intended, it refuses to work.Code:
The eval returns:
And in the console:
So, I wondered if my Rethinkdb.exe (Windows) were corrupt or something, but the package
rethinkdb
worked fine. Using the script from https://www.rethinkdb.com/docs/install-drivers/javascript/Additionally: