- Link entity to a specific database connection
- New decorator for a field named @Field which regroup every other ones to be more clear and have less decorators on our code
- Tests for the most part of the library
- Error on association update
- Insert and update of non wanted fields
- Fetch relations troubles
- Join undefined error
- Error on association insertion
- Join in FindQuery
- Group by and having in FindQuery
- Express middleware to handle contexts
- Access to queries
- FinqQuery
- UpdateQuery
- CreateQuery
- DeleteQuery
- Modules import (now you don't have have to add modules for all dbms)
- Modules import (now you don't have have to add modules for all dbms) (NOT WORKING SEE V4.4.4)
- Support for Oracle Db
- Support for MSSql
- Context notion
- Limit and offset for MariaDb/Mysql and Postgres
- Dist folder
- Relations between entities
- Date management
- Down migration trouble
- Auto create and update from entities
- Decorators
- @AutoCreateNUpdate for Entity classes
- Field types
- @TinyInt
- @Bool
- @SmallInt
- @MediumInt
- @Int
- @BigInt
- @Decimal
- @Float
- @Double
- @Bit
- @Date
- @Time
- @DateTime
- @Timestamp
- @Year
- @Char
- @Varchar(size)
- @Binary
- @VarBinary
- @TinyBlob
- @Blob
- @MediumBlob
- @LongBlob
- @TinyText
- @Text
- @LongText
- Field property
- @Unique
- @AllowNull
- @AutoIncrement
- @PrimaryKey
- @Default(value, isSystem)
- @Check(value)
- Decorators
- Config in DbManager
- Transactions
- Migration table
- DbManager with the possibility to add and to get dbs (only Maria and Postgres)
- Entities
- Entity class to give the user the possibility to create, update, delete and find some datas
- Decorators
- @Table with the name of the table for an entity class
- @Id for an attribute of an entity
- @PrimaryKey for an attribute of an entity
- @NonPersistent for an attribute of an entity
- Better names and structure
- Migration process
- MigrationManager to use to initialize migrations
- Migration class used for every migration file
- MigrationTypes
- CreateTable
- AlterTable
- DropTable
- SeedTable
- Support for Mariadb/Mysql
- Postgres for node v14
- Debug support with env variable DB_DEBUG or in constructor
- Support for Postgres