The core library version has reached 0.3.0. Let me briefly explain what's new in Rattus ORM.
TL;DR
- The database creation process has changed: the recommended approach is to use the
createDatabase
function; - The
Query
class has been split into two -Query
andConstraintor
.Constraintor
is responsible for applying constraints to data queries, whileQuery
inherits fromConstraintor
. This provides more flexibility for supporting asynchronous storage; - Decorators and attribute type methods have been renamed and moved to a separate export;
- A
@DateField
decorator (this.dateField
in JS) has been added, which is - obviously - for dates in your models; - Dependencies have been updated.