v0.11.1
Pre-release
Pre-release
This is a small feature patch on top of v0.11.0 adding model()
options that include the ability to set compound primary keys, multiple unique properties, and add timestamp properties (created_at
and updated_at
).
Note: the changes below are mostly from v0.11.0.
BUG FIXES
- enforcers: verbose option validation (b000a5e)
- findOne: sqlite3 response is an object (2f71f5f)
- model: argument handling with no column (e76343c)
- model: make
model()
async (e3d57f6) - native: fix affected row return value for native queries (2233a0f)
- native: query return types (7519f9e)
- query: return type should always be Promise (31cfed7)
models
list type (f77aae5)- model existence check (5591860)
FEATURES
- add
hasModel()
,dropModel()
, andclose()
(00c0d66) - add
raw()
method for custom queries (2403e27) - change
groupBy
usages togroup
(772b252) - initial commit for rewrite (#14) (26f739f)
- clear: add
clear()
method, safeguardremove()
(ab671c1) - count: add ability to count tables in the database (de9a62d)
- create: make
create()
return # rows affected (695753e) - model: add model options (dcc874e)
- schema: add
index
as a valid column attribute (8873e34) - sql.js: add connection pool for managing sq.js backend (2df8381)
- types: add
'timestamp'
property type (6bd0710)
BREAKING CHANGES
Major breakage inbound. See #14 for more info and useful migration tips.