This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-zerotierone/ext/librethinkdbxx/test/upstream/regression/1468.yaml
2017-11-02 07:05:11 -07:00

8 lines
361 B
YAML

desc: 1468 -- Empty batched_replaces_t constructed
table_variable_name: tbl
tests:
- rb: tbl.insert([{}, {}, {}])['inserted']
ot: (3)
- rb: tbl.replace(non_atomic:'true'){|row| r.js("{}")}
ot: ({"unchanged"=>0,"skipped"=>0,"replaced"=>0,"inserted"=>0,"first_error"=>"Cannot convert javascript `undefined` to ql::datum_t.","errors"=>3,"deleted"=>0})