Releases: tarantool/crud
Releases · tarantool/crud
0.4.0
Bug fixes
- Fixed typo in error for case when failed to get bucket_id
- Fixed select by part of sharding key equal. Before this patch
 selecting by equality of partially specified multipart primary index
 value was misinterpreted as a selecting by fully specified key value.
- Fixed iteration with pairsthrough empty space returnednil.
Features
- truncateoperation
- iterator returned by pairsis compatible with luafun
0.3.0
Bug fixes
- Fixed select by primary index name
- Fixed error handling select with invalid type value
- Get rid of performing map-reduce for single-replicaset operations
Features
- Added crud-routerCartridge role
- Implemented bucket_idoption for all operations to specify custom bucket ID. For operations that accepts tuple/object bucket ID can be specified as tuple/object field as well asopts.bucket_idvalue.
Changes
- CRUD-router functions are exposed to the global scope, so it's possible to call crud-operations via net.box.call
- crud.initis removed in favor to- crud.init_storageand- crud.init_router
Release 0.2.0
Bug fixes
- Select with ==conditions bugs
- Select with conditions by fields with collations
Features
- CRUD operations:
- replace
- upsert
Changes
- checksis disabled for internal functions by default
- limitoption is renamed to- first
- Reverse pagination (negative first) is supported
- afteroption accepts a tuple
- Output format for CRUD operations changed to set of rows and metadata
- Insert/replace/upsert methods now accept tuples.
 To process unflattened objects *_object methods are introduced.
- pairsaccepts- use_tomapflag to return tuples or objects
Release 0.1.0
Added
- 
Basic CRUD operations: - insert
- get
- select
- update
- delete
 
- 
pairsfunction to iterate across the distributed space