I am using RethinkDB as my DB backend with ember.js but when i am trying to run it i am getting
myproject\server\config\db.js:12
throw error;
^
RqlDriverError: Handshake timedout
on 12 line of my db.js file
Here is my db.js…
{
id: "a",
deck_list: [{
name: 'Deck1',
job: 'mage',
cards: []
}],
match: []
}
Hi I am trying to make a DB for card game Decks. In 'deck_list', there are list of decks that created by users. Whenever user adds a new…
I am new in Rethinkdb and the ReQL api. And I want to know what is the best way of getting the count() of a table after insert() a new row?
This is my actual javascript implementation, but I think it can be improved
r.table('likes')
.changes()
…
When starting script below, I got an error that stuck on
Something bad heppened while waiting for index created
Index `createdAt` was not found on table…
I am new to rethinkdb and I'm working on an admin tool for a game server in which I need to record player kills and deaths. I have the following structure for a player in which "name" is a secondary index:
"name": NameofPlayer,
"sessions:" [
{
…
I am not getting any results(no error as well) when I eq join a subdocument array.
Consider the following structure for user
User Table:
{
"email": "email@emaildomain.com",
"id": "ca433c6a-8cbc-4687-b217-19cabe5fcf63" ,
"image":…
I am pretty un-advanced with computer in general, however am using RethinkDB to store data. I am using data explorer on the platform to query and filter information I want, however want to query and search two or three tables in one query. Is this…
I want to retrieve all User or get all User with Name variable. I'm using Rethinkdb and I want to convert SQL Server to Rethinkdb with my query
SQL Server:
SELECT * FROM User
WHERE Name = '' OR Name = @ Name
This 's my Rethinkdb query, but It not…
I have a table "posts" with "timestamp".
Now I want from all user that have more than 1 post, to get all posts EXCEPT the most recent post.
With this query I can successfully check the users who have more than 1 post:
r.table("post")
…
When I run this query:
r.db('geodata').table('os50kgazetteer')
.getAll(false, { index: 'has_geolocation' })
.update({'geolocation': r.point(r.row('Coordinates')(0),r.row('Coordinates')(1))}
)
after several minutes of activity (a lot of reads…
I have a problem with the changelog function of rethinkdb. There is no console output, when adding a document to the collection. BUT "changes" is outputted once after starting my application via node app.js, why is that so? Any help is…
Suppose I have these documents in a Things table:
{
"name": "Cali",
"state": "CA"
},
{
"name": "Vega",
"state": "NV",
},
{
"name": "Wash",
"state": "WA"
}
My UI is a state-picker where the user can select multiple states. I want to…
i have a table notifications. records are inserted as so:
socket.on('set notif',function(data){
var user = socket.client.user;
if(typeof user !== 'object' && user == '_srv'){
…
So, since I'm too dumb obviously to figure this out myself, I'll ask you better folks here on SO instead.
Basically i have a datastructure that looks like the following:
....,
{
"id": 12345
....
"policy_subjects": [
{
"compiled": …
I'm trying to use RethinkDB javascript library with EmberJS. As there is no bower package for RethinkDB to install for ember, I'm trying to use npm package on ember. But I'm new to javascript as well as EmberJS I'm struggling to achieve this.
I have…