0
如何使用Python客戶端驅動程序在RethinkDB中編寫等效語句?在rethinkdb中過濾的子查詢
SELECT id fields FROM tasks WHERE id NOT IN (SELECT id FROM finished_tasks)
這是我的嘗試:
r.table('tasks').filter(lambda row: r.not(row['id'] in r.table('finished_tasks').pluck("id").coerce_to('array').run()