nocobase/packages/core/database/src
ChengLei Shao 08b2f374c8
feat(database): handle targetCollection option in repository find (#2175)
* test: return child collection when get with filterByTk

* refactor: targetCollection

* chore: target collection args in repository find

* feat: handle targetCollection option in repository find

* feat: get child target at belongs to many association

* chore: build

* chore: build

* chore: test

* refactor: targetcollection

* test: belongs to association with targetCollection

* fix: test

* fix: test

* fix: test

* fix: test

* fix: test

* feat: update with targetCollection option

* feat: inject target collection options at repository update

---------

Co-authored-by: katherinehhh <katherine_15995@163.com>
Co-authored-by: chenos <chenlinxh@gmail.com>
2023-07-21 10:51:56 +08:00
..
__tests__ feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
database-utils
decorators feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
eager-loading feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
errors
features
field-repository
fields feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
listeners feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
operators feat(collection-manager): tableOID field and collection field (#2161) 2023-07-04 23:16:49 +08:00
query-interface feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
relation-repository feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
repositories feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
sql-parser feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
value-parsers fix(value-parser): option type is string 2023-07-14 18:56:58 +08:00
view feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
collection-group-manager.ts
collection-importer.ts
collection.ts feat: localization management (#2210) 2023-07-17 23:23:44 +08:00
database.ts feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00
filter-match.ts
filter-parser.ts feat(collection-manager): tableOID field and collection field (#2161) 2023-07-04 23:16:49 +08:00
index.ts refactor(client)!: application, router and plugin (#2068) 2023-07-07 14:35:22 +08:00
inherited-collection.ts feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
inherited-map.ts
magic-attribute-model.ts
migration.ts
mock-database.ts feat: repository aggregate method (#1829) 2023-05-11 15:16:33 +08:00
model-hook.ts fix: eslint (#1759) 2023-04-25 13:12:14 +08:00
model.ts
options-parser.ts feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
playground.ts
repository.ts feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
sync-runner.ts
types.ts fix: eslint (#1759) 2023-04-25 13:12:14 +08:00
update-associations.ts feat(database): handle targetCollection option in repository find (#2175) 2023-07-21 10:51:56 +08:00
update-guard.ts refactor(db): add batch logic to update for better performance (#2070) 2023-06-21 16:37:06 +08:00
utils.ts Refactor/append fields (#1883) 2023-05-19 16:39:00 +08:00
view-collection.ts feat(database): view collection support for add new, update and delete actions (#2119) 2023-07-14 14:49:12 +08:00