3 ms·
I don't think it really needs a `rename` command. The query language supports it without: r.table('posts').replace(function(item) { return item.without('au
by orthecreedence 13y ago
I don't think it really needs a `rename` command. The query language supports it without:
r.table('posts').replace(function(item) { return item.without('author').merge({writer: item('name')}); })
- coffeemug 13y agoThat works, but it is a bit annoying to type. We'll add a porcelain command for this soon. See https://github.com/rethinkdb/rethinkdb/issues/881 https://github.com/rethinkdb/rethinkdb/issues/881.