【发布时间】:2013-09-02 20:31:42
【问题描述】:
我正在尝试从 RethinkDB 文档中删除一个密钥。 我的方法(不起作用):
r.db('db').table('user').replace(function(row){delete row["key"]; return row})
其他方法:
r.db('db').table('user').update({key: null})
这个只是设置 row.key = null (看起来很合理)。
通过 Web UI 在 rethinkdb 数据浏览器 上测试的示例。
【问题讨论】:
标签: rethinkdb rethinkdb-python