3 ms·
Computing Fibonacci in RethinkDB
- mfenniak 13y agoSlava, why "r.table('fib').orderBy('id').nth(x.sub(1))"? It looks like "r.table('fib').get(x.sub(1))" would be the same behavior but more efficient, using a primary-key lookup rather than retrieving the entire table and ordering by it. What am I missing? :-)