Closed aleclarson closed 7 years ago
Example:
db.table('users').update({ friendCount: r.row('friendCount').add(1).default(1) })
In the above scenario, if a row has an undefined friendCount, the default value will not be used since the query context is non-existent when query._run() is called by the parent query.
friendCount
query._run()
This should be fixed, but there may be some edge cases.
Example:
In the above scenario, if a row has an undefined
friendCount
, the default value will not be used since the query context is non-existent whenquery._run()
is called by the parent query.