rethinkdb Questions

4

Solved

This is my official first question here; I welcome any/all criticism of my post so that I can learn how to be a better SO citizen. I am vetting non-relational DBMS for storing potentially large em...
Under asked 1/3, 2013 at 6:3

2

Solved

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(...
Bright asked 30/9, 2015 at 19:22

3

Solved

I am interested in Rethinkdb and would like to develop/test on it, but main problem is: it don't have package for windows operating system. I tried to compile from source code, that was also not po...
Weather asked 11/11, 2014 at 23:47

4

Solved

How to make a rethinkdb atomic update if document exists, insert otherwise? I want to do something like: var tab = r.db('agflow').table('test'); r.expr([{id: 1, n: 0, x: 11}, {id: 2, n: 0, x: 12...
Aground asked 19/6, 2014 at 12:43

2

Solved

Let's say I have a document { id: 1, fruits: [] } fruits here acts as a SET Now I want to atomically add a value to fruits array for document with primary key = 1 OR create such document if i...
Herbartian asked 26/7, 2015 at 7:20

1

Solved

Since the native RethinkDB drivers do not support connection pooling yet, I was wondering, what is the maximum number of connections to the RethinkDB server?
Coordination asked 16/7, 2015 at 13:56

1

Solved

Having just arrived to Elixir/Phoenix I want to use RethinkDB instead of PostgreSQL but I only find documentation/examples on PostgreSQL (which seems to be the default/official database). There is ...
Smaragdite asked 16/7, 2015 at 15:5

1

Solved

given sample data like: { 'id': 1, 'things': [{'name': 'a'},{'name': 'b'},{'name': 'c'}] } how do I update the document removing the array item with name of 'b' from the embedded array? r.tab...
Anatolian asked 15/6, 2015 at 14:47

1

Solved

Currently I'm using socket.io without RethinkDB like this: Clients emit events to socket.io, which receives the events, emits to various other clients, and saves to the db for persistence. A new c...
Gambol asked 29/5, 2015 at 10:52

1

Solved

My data structure { "group": "fruits" "items": ["apple", "orange", "banana"] } I need to pull first item from the "items" array without knowing the value. Is it possible?
Nave asked 25/5, 2015 at 9:35

2

Solved

I'm trying to execute several RQL commands in a single request to server, without much success I may add. I have tried r.union, but it only works with sequences. What I really want: [r.db(..).tabl...
Plebiscite asked 29/11, 2013 at 22:20

3

Solved

I need to programatically create a RethinkDB database from the command line. However...I have no clue how to do this. I know that I can do this from the web UI or from a client driver, but isn't t...
Brooke asked 30/4, 2015 at 21:12

1

Solved

I'm trying to write the most optimal query to find all of the documents that do not have a specific field. Is there any better way to do this than the examples I have listed below? // Get the ids ...
Ha asked 18/4, 2015 at 23:25

1

Solved

How can I easily duplicate my production database (mydb) to create a dev database (mydb-dev)? The rethinkdb restore command seems to have no option to specify the name of the output database. It ...
Alarick asked 5/4, 2015 at 13:26

2

Solved

I'm working with a data set that looks something like this: "bitrates": [ { "format": "mp3" , "rate": "128K" } , { "format": "aac" , "rate": "192K" } ] , "details": [ ... ] , "id": 1 , "na...
Ensconce asked 2/4, 2015 at 14:18

1

Solved

On the api documentation page rethinkdb.com/api/javascript I can only find commands to create, drop and list databases. But how I can I rename a database in RethinkDB?
Maulmain asked 31/3, 2015 at 21:15

1

Solved

How can I migrate my MongoDB collections to RethinkDB tables? I'm not concerned about changing my old Mongo _id's to Rethink id's because they will be ignored in my implementation, and I'm not co...
Heady asked 24/3, 2015 at 18:54

1

Solved

i want to list records where id=1 between two timestamps and finally order them according to timestamp. Mysql query something: Select * from test where (timestamp between 100099323 AND 142369932...
Titanate asked 18/2, 2015 at 12:25

1

My table has a timestamp field, which is a standard RethinkDB date field. Can I group rows by day / week / month using this timestamp field? Couldn't find any examples in the group() docs.
Misdoing asked 11/2, 2015 at 23:26

1

Solved

I save my data on RethinkDB Database. As long as I dont restart the server, all is well. But when I restart, it gives me an error saying database doesnt exist, although the folder and data does exi...
Choochoo asked 4/2, 2015 at 19:4

4

Say I have a DB on my cluster named my_db. Can I clone this DB so that on the same cluster I'll have my_db_cloned without dealing with dump / export?
Socratic asked 11/11, 2014 at 15:9

1

Solved

Let's say I have this object: { "id": "1a48c847-4fee-4968-8cfd-5f8369c01f64" , "sections": [ { "id": 0 , "title": "s1" } , { "id": 1 , "title": "s2" } , { "id": 2 , "title": "s3" } ...
Languet asked 16/12, 2014 at 15:48

1

Solved

I have this object: { "id": "eb533cd0-fef1-48bf-9fb8-b66261c9171b" , "errors": [ "error1" , "error2" ] } I simply want to append a new error to errors array. I tried: r.db('test').table('t...
Incompressible asked 3/4, 2014 at 19:2

1

Solved

Say I have this JSON (sample - a real-life example can be found at apple itunes rss feed) stored in a RethinkDB table called 'test': { "feed": { "entry": [ { "title": { "label": "Some super d...
Cammiecammy asked 24/2, 2014 at 0:12

1

Solved

I have the following data structure: wall { slug: "wall-slug", nodes: { "node1": "id-from-nodes-table-1", "node2": "id-from-nodes-table-2" } } nodes { id: "id-from-nodes-table-1", somet...
Confidence asked 18/2, 2014 at 19:59

© 2022 - 2024 — McMap. All rights reserved.