I need to update 2 tables in one transaction.
In current version RethinkDB doesn't support transactions from the box. So, how can I achieve this?
I can make update in 2 ways:
Update 1st table. If success -> update second table.
Update 2nd tables…
I found in documentation that RethinkDB can store Binary Files (BLOBs).
This is great !
I have an ECM application and need to store 50.000.000 of files. ( from 8K until 1GB ).
I need to know what is the max file size in RethinkDB ?
Will be some…
I'm trying to onboard a new developer, that is using Windows 11 as the only one on our small team. I've guided him through installing WSL2 and Ubuntu 20.04.3 LTS (linux kernel: 5.10.93.2-microsoft-standard-WSL2).
We are 3 other developers who are…
Currently trying to solve a problem by using RethinkDB to find those objects which has a createdAt date key with less than the given value by using .lt().
The following query works just fine with .filter() and .lt():
r.db("databasename")
…
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 TABLE but found SINGLE_SELECTION:
{
…
I have a lot of tries to search by same part of the string in the rethinkdb but I can not do it yet.
And I receive this error:
db.table("jobs")
.filter(db.row("title").contains(title))
.filter({ locationCode: location })
…
I have an application created in Node.js with a Rethinkdb database, I load images from the application, but from the Data Explorer, to which you can connect from localhost: 8080, I can not delete the loaded elements.
// This is how I show the…
I have successfully configured a user "bob" to use the password "secret" in rethinkdb:
r.db('rethinkdb').table('users').insert({id: 'bob', password: 'secret'})
From Node.js, I'm trying to connect to it using npm's rethinkdb module.
r.connect({…
I have the following ReQL Query which Identifies distinct addresses, but can't seem to add the not() method to get the opposite.
r.db('mydb').table('users').orderBy(r.desc('email')).without('id').distinct()
I am new to keystone js, I am looking to answer these questions:
Can we add/view video/audio in gallery view ?
Can we connect keystone js with Rethink db?
Can anyone think if an elegant way to do update and replace in one line?
I want to use the r.row.without to remove fields and update at the same query.
Something like:
r.db('db').table('table').get('item_id')
.update({ field_a:'value_a'})
…
I would like to run a query that gets all the documents that have a lastUpdateDate from a date provided until today.
lastUpdateDated is defined like
lastUpdateDate = new Date() -> Tue Jan 19 2016 20:45:32 GMT+00:00
The following works in the…
I can listen for changes using a library for one of supported languages. It's NodeJS in my case, and the code looks like this:
r = require('rethinkdb')
r.connect()
.then(function (conn) {
return…
Brief: I'm using RethinkDB's change feeds to watch changes on a specific document (not the entire table). Each record looks like this:
{
"feedback": [ ],
"id": "bd808f27-bf20-4286-b287-e2816f46d434" ,
"projectID": …
Lets say I have a "category" table, each category has associated data in the "data" table and it has associated data in other tables "associated" and I want to remove a category with all it's associated data.
What I'm currently doing is something…