I'm trying to query only things that are less than a day old... in JS this returns true; Why is rethink not returning true, so also not returning any results?  r.db( "db" ).table("table")   .filter( function (item) {     var...
I have imported a table from MySQL into RethinkDB, and it worked well. Now I am trying to figure out how to update my previous MySQL timestamp fields into Time objects in RethinkDB, with no success.  Using the query explorer:  r.table('users'...
This is my very first interaction with rethinkdb, it looks pretty good but i'm having some problems...  The idea is simple: create a database if is not created yet.  The code is simple, or well, the idea of code:  module.exports = function(r, con...
I'm learning RethinkDB and of course I'm interesting in using changes() method to get changefeed.  I know how to start them but the docs are not clear about how to stop a changefeed? Should I just call close() on the cursor passed into run()...
hello i have this in the data explorer on the webinterface but i have a error  code:  r.db("discordboatsclubv1").table("users").get("355995885085392896").insert({   "admin":"true" })   error:  e: Expected type...
I'm trying to get data from a document in RethinkDB in NodeJS and pass the result into a variable I wish to use in a template file, but it is always undefined when I try to print the data variable like #{data} (I'm using pug/jade) because it&...
I'm using RethinkDB feeds with a NodeJS application in order to keep track on the changes in the database.  When RethinkDB goes down i use  r.getPoolMaster().on('healthy'   to keep track if RethinkDB is alive or not, and rejoin the feeds....
When you launch a rethinkdb instance, it will automatically create a database called 'test'. When you run multiple instances and cluster them using rethinkdb proxy this leads to the issue:  Database name conflict: test is the name of more tha...
For example,  {   id:"monday",   names:[     {one:"white", two:"pink"},     {uno:"blanco", dos:"rosado"}   ] }   How would you change white to black? So far, I've got this:    r.db.table.get('monday'...
I have documents like this:  {    id:1,   "A": [     {       "C": "abc",       "D": [{X:"test"},{X:"test2"}]     },     {       "C": "fg",       "D":["X1"]     }   ] }...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.