* refactor: change sort strategy from offset to targetId
* fix: remove unnecessary query to optimize performance
* refactor: change sort api to allow object
* refactor: change function member positions
* fix: test case names
* fix: static to instance
* feat: add sort value initialization via beforeCreate hook
* fix: after reinitialization, hooks are lost
* test: temp test for hook
* fix: hooks defined in the table options does not work
* refactor: change sort config into sort type field and fix updateAssociations to create with foreignKey
* refactor: abstract utility functions
* fix: type definition
* fix: type and where value type
Co-authored-by: chenos <chenlinxh@gmail.com>
* feat: add fields options for create/update actions
* test: add test case for json
* fix: minor update for reviews
* fix: test case
* fix: change fields filter strategy for create/update
* feat: add transaction for create/update
* Create node.js.yml
* fix: npm install command
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by use same react version
* fix: try to fix github action fail by build dependencies
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by types resolution
* fix: try to fix ci fail by set env
* fix: try to fix ci fail by pg version
* fix: try to fix ci fail by fix types
* fix(test): Type '""' is not assignable to type 'IndexType'.
* fix(test): Type '""' is not assignable to type 'IndexType'
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
* refactor: change updateAssociations from set null to small grouped handling
* feat: add transaction for updateAssociations
* test: add more basic cases
* fix: pick options for different model methods
* fix: adjust options picking strategy