This repository was archived by the owner on May 10, 2025. It is now read-only.
Releases: aleclarson/rethinkdb-mock
Releases · aleclarson/rethinkdb-mock
0.7.1
0.7.0
0.6.0
- Add
mapmethod - Add
r.args - Add
r.row(supported bymap,filter,update,replace, andmerge) - Add
r.tableCreate - Add
r.tableDrop - Validate table names
- Allow
replaceon table queries - Allow
hasFieldson table queries - Don't evaluate queries passed to
r.dowhen the given function has alengthof zero - Evaluate queries from last to first when
r.dois not given a function
0.5.0
- Add
contains - Add
isEmpty - Add
count - Add
limit - Add
skip - Expose
table.bracket()
0.4.0
- Add
.branch() - Add
r.do() - Support infinite arguments with
.do() - Support selection queries nested in arrays/objects to be passed to
.expr() - Prevent indexes < -1 when calling
nthon a stream - Allow
r(1)as shorthand forr.expr(1)
0.3.0
- The
Datum,Selection, andSequenceclasses have been merged into a unifiedQueryclass - Errors are now thrown for incorrect number of arguments
- Wrap any non-query arguments with
r.expr(). This means nested queries are resolved before the action is performed! - Type-related error messages match
rethinkdbdashmore often pluckandmergeare now 100% bug-freewithoutsupports nested arrays (but not objects yet)defaultworks with nested queriesr.expr()now checks for undefined and imaginary numbers- Fixed edge cases with
update(null) - Implement the
catchmethod - Add a
Resultclass for reusing the result of a query viaquery.do()