Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
muhqu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
1.
▲
by
muhqu
14y ago
awesome, thanks!
2.
▲
by
muhqu
14y ago
Do you think something like the following should work with RethinkDB? r.table('foo') .get(5) .update({ '_rev': r.branch(r['_rev'] == 5, r('_rev').add(1), r.error("invalid revision") ), 'name': "awesome
3.
▲
by
muhqu
14y ago
I think you, ww520, have a very well point here and I'm also interesten in what RethinkDB can offer for this very usage scenario. From what I read from the ReQL command reference there it should be possible to do something like: r.tabl