Questions tagged [rethinkdbdash]

16 questions
2
votes
1 answer

Issue with connecting to rethinkdb from Windows 11 via thinky (nodejs)

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…
2
votes
2 answers

Rethinkdb full search by contains text

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 }) …
Ali Torki
  • 1,929
  • 16
  • 26
2
votes
1 answer

How to get database name from a connection?

Using the driver rethinkdbdash... Given: const rConnection = r.db('someDb').table('someTable') How do I get the database name or the table name this connection is using from the variable rConnection?
Mike Fielden
  • 10,055
  • 14
  • 59
  • 99
1
vote
0 answers

how to get previous and next records for a specific record in rethinkdb

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'},{id: 6, name: 'f'}] Let's say I got the record…
1
vote
0 answers

RethinkDB: Update multiple array entries using ReQL with high performance

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. Here's an example : "entities": [ { …
Barklight
  • 33
  • 3
1
vote
0 answers

Failed to create new connection Node JS RethinkDbDash

Fail to create a new connection for the connection pool. Error:{"msg":"Failed to connect to 127.0.0.1:28015\nFull…
1
vote
3 answers

NodeJS promises with rethinkDB

I have a question regarding promises in nodeJS when using Rethindb. This code will give me the results from db first time anything changes, not more. Lets say I start the script and add a row to the db, the new data will be printed in cmd. But if I…
1
vote
1 answer

rethinkdb update query with nested array of objects

Below is the structure I've been working. Criteria is something like I want to update status of nodeName present in Node2 in a single query. "nodeList": [ { "nodeName": "Node1", "status": "Not Ready" }, { "nodeName": "Node2", …
iamvik
  • 51
  • 8
1
vote
1 answer

Rethinkdb: how to call getAll with array of predefined ids

Have some ids: let uIds = ['2e56c685-977b-41df-95dd-6adab3aef009', 'dc636c8c-46b8-4022-bea8-a17e692e75ce' ]; How to get all records with these ids? This doesn't work: r.db('test').table('users').getAll(uIds) And this…
Maksim Nesterenko
  • 5,661
  • 11
  • 57
  • 91
1
vote
1 answer

RethinkDB returns incorrect results in Data Explorer with r.row

Environments tested in: RethinkDB 2.3.5 installed on Ubuntu Xenial, same tested on MacOS Sierra. The below done on clean install with one record added to test database: Screenshot Dashboard Data Explorer exact match query without r.row does find the…
uzla
  • 515
  • 1
  • 4
  • 20
0
votes
1 answer

How to connect rethinkdb in Openshift using rethinkdbdash

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 3.28015 - client connection I have created a route…
0
votes
1 answer

Cannot Grab Data From Primary Key In RethinkDB

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 ID is a sliced array from data I'm grabbing from an…
Facto Man
  • 15
  • 1
  • 4
0
votes
1 answer

RethinkDB Unhandled Rejection No stack trace

I'm using RethinkDB with Rethinkdbdash (node.js) and for a few days now Im getting this error: Unhandled rejection (<[{"entries":3,"id":1357186,"item":{"co...>, no stack trace) Doesn't matter what query do I run, when i try to get any info from the…
NilmeX
  • 63
  • 1
  • 6
0
votes
1 answer

Displaying data for each day of the week with rethinkDB

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: "2018-09-23T11:06:30.164Z" } ] To be like this { …
0
votes
2 answers

rethinkdb-migrate migration file in location

I am using rethinkdb-migrate for migrating rethink db database object. I am running the following command - rethinkdb-migrate up --db=test When the migration file is in migrations folder it's working as expected. but when I am moving the…
Bopsi
  • 2,090
  • 5
  • 36
  • 58
1
2