Questions tagged [rethinkdb-python]

Python driver for RethinkDB

140 questions
0
votes
1 answer

How to use both: filter and group in rethinkdb

I want to group filtered result, not all, only filtered. Something like this: r.table(TABLE_NAME).filter(...).group("supplier").max("ts").run(...)
okuznetsov
  • 278
  • 1
  • 5
  • 12
0
votes
1 answer

non writing replace/update in rethinkdb query

I'm new to rethinkdb and have simple trouble. Suppose I have following objects structure: Table A: [{ 'id': '1', 'b_list': ['11', '12'] }] Table B: [{ 'id': '11', 'value': 'somevalue1' },{ 'id': '12', 'value':…
Stqs
  • 355
  • 1
  • 4
  • 13
-1
votes
1 answer

Join columns to a table in parallel

Currently I use a function to run an aj join for a single column from a large table on to a smaller table which has its time column shifted t milliseconds ahead, joining on a sym column as well as time. I then compute and programatically name a new…
foam78
  • 264
  • 1
  • 8
-1
votes
1 answer

Updating nested JSON in array rethinkdb using Python

I want to filter with userid and update to groupuserlist in user_url data using python.pls help me.this is my following code JSON { "channelname": "TEST1" , "groupuserlist": [ { "userid": "fb422f9b-bcec-4a82-aa8e-5e0daf5b1a7a" , "user_url":…
-1
votes
1 answer

Want to update document in reThinkDB using setInsert Python

r.db('usersData').table('smsRaw').get("3413b71c-1628-47eb-83fa-6a3cccdb3e62").update({"MESSAGE": r.row('MESSAGE').setInsert({"DATE":"20160111","MESSAGE":[{"ADDR":"LONDON","date":"1468385398746"}]})}) This is what i am able to run on console.I…
Vinay Sawant
  • 368
  • 2
  • 7
  • 23
1 2 3
9
10