Releases: aleclarson/rethinkdb-mock
Releases · aleclarson/rethinkdb-mock
0.7.1
0.7.0
0.6.0
- Add
map
method - Add
r.args
- Add
r.row
(supported bymap
,filter
,update
,replace
, andmerge
) - Add
r.tableCreate
- Add
r.tableDrop
- Validate table names
- Allow
replace
on table queries - Allow
hasFields
on table queries - Don't evaluate queries passed to
r.do
when the given function has alength
of zero - Evaluate queries from last to first when
r.do
is 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
nth
on a stream - Allow
r(1)
as shorthand forr.expr(1)
0.3.0
- The
Datum
,Selection
, andSequence
classes have been merged into a unifiedQuery
class - 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
rethinkdbdash
more often pluck
andmerge
are now 100% bug-freewithout
supports nested arrays (but not objects yet)default
works with nested queriesr.expr()
now checks for undefined and imaginary numbers- Fixed edge cases with
update(null)
- Implement the
catch
method - Add a
Result
class for reusing the result of a query viaquery.do()