v1.0.0-rc.3
Pre-release
Pre-release
This release contains a breaking change regarding the return value of create()
.
You can follow the discussion leading up to this change in #21, #22, & #24.
Many thanks to @jonataswalker who put in a lot of effort for this one.
BUG FIXES
- create: last object when auto-increment key (6c8acc1)
- create: native vs
sql.js
last object handling (06cfca0) - model:
sql.js
not returning model on creations (06df94f) - tests.model:
create()
expected return value (baa6ad3)
FEATURES
- create: return the created object (e551bbd)
PERFORMANCE
- optimize
findLastObject
helper (e90cdff)
BREAKING CHANGES
- create: The return value of
create()
is no longer the number of created objects. Instead,create()
returns the created object.