Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
57 views

I am trying to get the surrounding records based on a given record id. For example I have this records: [{id: 1, name: 'a'},{id: 2, name: 'b'},{id: 3, name: 'c'},{id: 4, name: 'd'},{id: 5, name: 'e'},{...
Jay-R Joseph Gabunada's user avatar
2 votes
1 answer
207 views

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-...
dotnetCarpenter's user avatar
1 vote
0 answers
182 views

Inside a single document of my table, I'm trying to achieve an update of several entries of an array with high performance. The array is around 20k entries, and I'm trying to merge 5k element changes. ...
Barklight's user avatar
2 votes
1 answer
336 views

I'm building an Electron app, specifically a crypto-currency wallet, so I need all the information stored locally on the user's machine and should not be synced to any server. I like RethinkDB and ...
parliament's user avatar
  • 23.2k
2 votes
1 answer
233 views

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 ....
norbitrial's user avatar
  • 15.2k
0 votes
1 answer
111 views

Could someone help to connect to rethinkdb in openshift using rethinkdbdash I have deployed rethinkdb in openshift & create 3 clusterIP services 1.8080 - admin 2.29015 - intracluster communicated ...
Raja's user avatar
  • 89
0 votes
1 answer
99 views

I have been starting with RethinkDB. I have gone through the documentation. I have a simple use case of returning the inserted document when a POST call is made. This is something I have done so far. ...
chandan_kr_jha's user avatar
-1 votes
1 answer
164 views

I would like to run multiple instances of Rethinkdb on the same machine. Is that possible? if so, what is the set up?
Marek's user avatar
  • 11
0 votes
1 answer
164 views

I have a table of documents (entity) with a field that is a list of objects: { "field": { "content": [ { "url": "https://www.google.com" }, { "url": "" } ]...
ebbishop's user avatar
  • 2,013
0 votes
1 answer
426 views

I want to find any user who is member of a group I can manage (using the webinterface/javascript): Users: { "id": 1 "member_in_groups": ["all", "de-south"] }, { "id": 2 "member_in_groups": ["...
anli's user avatar
  • 835
1 vote
1 answer
50 views

I can view all the documents in a table with this: r.db('database').table('users') But how can I list the uuid for each document/user?
Francis Smith's user avatar
2 votes
1 answer
316 views

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: ...
HiiZun's user avatar
  • 27
1 vote
1 answer
170 views

sample data [ { "createdDate": 1508588333821, "data": { "image_extension": "png", "name": "Golden", "qty": 1, "remark": "#296-2", "status": "RETURN", "...
Atk's user avatar
  • 149
1 vote
1 answer
135 views

So I have a result that looks like this "data": { "randomkeyllasdkjflk": { "name": "John Doe" }, "anotherrandomkeyadf": { "name": "Mona Lee" } } and I want to access the name. This ...
kjames's user avatar
  • 656
0 votes
1 answer
115 views

I'm attempting to grab data in RethinkDB by the primary key. However, my code cannot find the data. I'm using the RethinkDBDash driver to grab the data and such, I defined Rethink as client.db. The ...
Facto Man's user avatar
0 votes
0 answers
163 views

Is it possible to compare the function of an existing index with an ordinary native function in JavaScript? For instance, I might create an index with the following code: r.table('Table')....
Chris Talman's user avatar
  • 1,199
0 votes
1 answer
31 views

I'm trying to join two tables by parent id to child row name 'users_id' from the specific database via rethinkdb web interface, below is what I've tried r.db('cn_chat').table('chat_que').eqJoin('...
Juliver Galleto's user avatar
1 vote
1 answer
44 views

I'm trying to retrieve a result where row 'origin' is equal to 'person' or row 'type' is equal to 'human', below is what I've tried r.db('identitydb').table('connections').filter( ( { "origin" : "...
Juliver Galleto's user avatar
1 vote
1 answer
108 views

I'm using the recommended PHP client driver for rethinkdb and I created a database and also a table unto that database, now I'm trying to retrieved all the documents from the specific table from a ...
Juliver Galleto's user avatar
1 vote
1 answer
210 views

I have following table structure - { "id": 1, "prop": { "1": { "bunch-of-stuffs": "foo" }, "2": { "bunch-of-stuffs": "bar" } } } I want to remove "prop" with the key ...
Bopsi's user avatar
  • 2,526
1 vote
1 answer
63 views

I have following query which returns the number of request for each status - r.db.table("request").group("status").count() result - [ { "group": "ACCEPTED", "reduction": 1 }, { "...
Bopsi's user avatar
  • 2,526
0 votes
1 answer
96 views

I got the error: ReqlLogicError: Expected type TABLE but found SINGLE_SELECTION with the ReQL await client.db.table('userData').get('249923459738632194').insert({money: money}).run();. ...
Facto Man's user avatar
0 votes
1 answer
34 views

The query r.table('categories').orderBy('name') returns my documents in the following order: Cerveja Refrigerante Suco Água The correct order would take "Água" first: Água Cerveja Refrigerante Suco ...
gustavopch's user avatar
1 vote
1 answer
185 views

{ "id": 1, "subdocuments": [ { "id": "A", "name": 1 }, { "id": "B", "name": 2 }, { "id": "C",...
Ben's user avatar
  • 2,267
2 votes
2 answers
697 views

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)) ...
Ali Torki's user avatar
  • 2,048
0 votes
1 answer
44 views

Displaying data for each day of the week with rethinkDB r.row('time_create').dayOfWeek() [ { detail: "no", order_id: "03", status: "Delivery", time_create: "2018-09-23T11:06:30.164Z", time_success: "...
Nonzakiz's user avatar
0 votes
2 answers
83 views

Is there a way to get shorter unique IDs for entries in RethinkDB? We have a URL scheme where <url>/:ID URLs get very long with the default ID Their docs don't seem to talk about this... ...
Qasim's user avatar
  • 1,590
1 vote
1 answer
101 views

I have RethinkDB with data/table let say "news" with huge number of data row : [ { "author": "author1", "category_id": "business", "country": "id", "created_at": "Wed Aug 15 2018 09:...
andri_sasuke's user avatar
0 votes
1 answer
146 views

I am new to RethinkDB, I have an array of object ids, I want to fetch object from a table whose id belong to this array. SQL query would be - SELECT * FROM orgs WHERE id IN ('ID1','ID2'); I tried ...
Bopsi's user avatar
  • 2,526
2 votes
1 answer
2k views

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 ...
gemita's user avatar
  • 4,496
1 vote
2 answers
815 views

we have a rethinkdb with tickets in it. They have a createdAt with a timestamp in milliseconds and a priority attribute. e.g. { createdAt: 12345, priority: 4, owner: "Bob", description: "...
Roger292's user avatar
1 vote
1 answer
167 views

I have two tables, users and authors. A user can be an author and if so, in the author document there is the id of the user. What I want to query are all the users that are NOT authors. The ...
Tres's user avatar
  • 571
3 votes
1 answer
398 views

I'm having a rather large amount of difficulty with trying to remove nested objects from my table, without accidentally deleting all my data in the process (happened three times now, thank god I made ...
Laz's user avatar
  • 63
0 votes
1 answer
82 views

what will be the equivalent query for select * from emails where to="someemail" and from="some@email" need to use get instead of filter
nicky's user avatar
  • 3,916
0 votes
2 answers
82 views

I have tables of the following kind entity |id|title| entity_authors |id|authorName| entity_to_authors |id|entityId|authorId| I managed to join the tables entity and entity_to_authors r.table("...
MadLax's user avatar
  • 1,357
0 votes
2 answers
170 views

How to reduce / aggregate multiple fields in a table? This does not seem efficient: r.object( 'favorite_count', r.db('twitterdb').table('tweets').map(tweet => tweet('favorite_count')).avg()....
art1fa's user avatar
  • 23
6 votes
2 answers
295 views

is there any difference between chained: r.db('catbox').table("bw_mobile").filter( r.row("value")("appVersion")("major").le(2) ).filter( r.row("value")("appVersion")("minor").le(2) ).filter( ...
lito's user avatar
  • 3,145
0 votes
1 answer
51 views

I am using rethinkdbdash for the first time and I am attempting to simply create a user but error out if it exists. From all of the documentation I have read the following code should work, however it ...
alphadmon's user avatar
  • 443
0 votes
1 answer
35 views

So I,m trying to filter my database for names with this code: r.table('Profiles').filter({mcname : user}).run(connection, function (err, profiles) { console.log(r.table("...
TheDeafCreeper's user avatar
0 votes
1 answer
135 views

Is there a way to make rethinkdb generate primary key automatically and to ensure the key is in an increasing order., like say 1 to n I know when we insert a row into rethinkdb it automatically ...
coderb's user avatar
  • 27
1 vote
1 answer
51 views

I have a data set like follows- [{ "name": "new name", "tags":[{ "addedBy": "userABCe3" , "addedDTS": Tue Jan 23 2018 13:02:37 GMT+00:00 , "tagId": "08d679c8-31b6-48d3-...
Naveen Satti's user avatar
1 vote
1 answer
448 views

I have a table like this { dummy: [ "new val", "new val 2", "new val 3", "other", ] } want to get only matched values to "new", I am using query like this: r.db('db')....
Jawad's user avatar
  • 193
0 votes
1 answer
262 views

I'm trying to run a ReQL query to fetch the data between 2 epoch times, i have a field called "lastUpdatedDttm" using which i'm trying to run the query like below. The lastUpdatedDttm field type is "...
Sai's user avatar
  • 2,062
0 votes
1 answer
349 views

I am trying to append an object into an array in rethink. Here is how I am trying to append it: rethink.table('shifts') .get(shiftId) .update(row => row("milestones").default([])....
jhamm's user avatar
  • 25.1k
0 votes
1 answer
134 views

I am trying to append an object into an array in rethink. Here is how I am trying to append it: rethink('shifts') .get(shiftId) .update(row => row("milestones").default([]).append(...
jhamm's user avatar
  • 25.1k
0 votes
1 answer
165 views

Suppose I have record like this: { id: 1, statistics: { stat1: 1, global: { stat2: 3 }, stat111: 99 } } I want to make update on record with ...
Suvitruf - Andrei Apanasik's user avatar
0 votes
1 answer
171 views

In RethinkDB, is it possible to filter and group in a single query using indexes for efficiency in both operations? For instance: r .db('db') .table('table') .getAll('123', {index: '...
Chris Talman's user avatar
  • 1,199
0 votes
1 answer
63 views

I need to do a join operation in rethinkdb (eqJoin) but using two or more fields and not only 'gameId' r.table('players').eqJoin('gameId', r.table('games')).run(conn, callback)
yussenn's user avatar
  • 635
1 vote
1 answer
566 views

By now I've 1Million records in my table. When I trying to add a new column/variable to the table it is showing time out error.I even tried to limit the data intake but it doesn't. Can anyone tell me ...
techie95's user avatar
  • 515
0 votes
1 answer
156 views

I have a dataset with a field that contains a list of strings for each document. I'm looking for a query that will give me the list of unique strings in that field I thought reduce might be what I'm ...
ebbishop's user avatar
  • 2,013