Open aleclarson opened 7 years ago
const users = db.table('users') users.insert({}, {nonAtomic: true}).run() users.get(1).replace({}, {nonAtomic: true}).run()
This might be a tough one to solve. We need to figure out which queries are non-deterministic, and return an {errors, first_error} response when an insert or replace query is non-deterministic and doesn't have {nonAtomic: true}.
{errors, first_error}
insert
replace
{nonAtomic: true}
This might be a tough one to solve. We need to figure out which queries are non-deterministic, and return an
{errors, first_error}
response when aninsert
orreplace
query is non-deterministic and doesn't have{nonAtomic: true}
.