Closed benfletcher closed 5 years ago
Probably a silly question, but calls seem to execute the same whether or not followed by run().
run()
In short:
r.table('test') .then(data => console.log(data));
produces the same output as:
r.table('test').run() .then(data => console.log(data));
I'll be using the idiomatic/correct syntax with run(), but would like to understand the underlying mechanics a bit better. Is there an error being swallowed in the "short" form? Does it have memory implications? Something else? Thanks!
https://github.com/neumino/rethinkdbdash#optional-run-with-yield
Just missed this in docs.
Probably a silly question, but calls seem to execute the same whether or not followed by
run()
.In short:
produces the same output as:
I'll be using the idiomatic/correct syntax with
run()
, but would like to understand the underlying mechanics a bit better. Is there an error being swallowed in the "short" form? Does it have memory implications? Something else? Thanks!