tachybase_todo/packages/core/database/src
Junyi 6a589543f9
refactor(db): add batch logic to update for better performance (#2070)
* refactor(db): add batch logic to update for better performance

* test(plugin-workflow): fix test cases

* fix(db): treat belongsTo field in update values as foreignKey

* fix(db): also handle object with id for belongsTo field

* fix(db): avoid 0 as falsy

* fix(db): fix test case
2023-06-21 16:37:06 +08:00
..
__tests__ refactor(db): add batch logic to update for better performance (#2070) 2023-06-21 16:37:06 +08:00
database-utils feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
decorators feat: update many (#1135) 2022-11-24 00:24:27 +08:00
eager-loading chore(database): return emtpy fields when attributes not specified (#2034) 2023-06-12 18:44:43 +08:00
errors feat: limit database identifier (#908) 2022-10-14 15:02:41 +08:00
features fix: destroy through table record referencing collections table (#1611) 2023-03-28 12:26:30 +08:00
field-repository fix(database): filter match (#1319) 2023-01-03 13:38:20 +08:00
fields fix(database): missing reference when rewrite parent field (#1977) 2023-06-03 00:06:54 +08:00
listeners chore(database): append inherit inspect attribute with eager load (#2010) 2023-06-08 17:58:39 +08:00
operators feat: support to-multi field variables (#1680) 2023-05-21 17:18:35 +08:00
query-interface chore: pg sql parser (#1890) 2023-05-19 15:30:44 +08:00
relation-repository feat(database): append child collection name after eager load (#1978) 2023-06-06 11:30:35 +08:00
sql-parser chore: pg sql parser (#1890) 2023-05-19 15:30:44 +08:00
tree-repository fix: tree with fields option (#1833) 2023-05-10 16:32:36 +08:00
value-parsers feat: support for importing attachments (#1466) 2023-02-19 17:35:23 +08:00
view chore(database): pg oid and name data type in view (#1982) 2023-06-05 10:56:34 +08:00
collection-group-manager.ts feat: multiple apps (#1540) 2023-03-10 19:16:00 +08:00
collection-importer.ts fix: collection importer has incorrect reference (#1495) 2023-02-24 17:50:08 +08:00
collection.ts chore: load view collection when source not found (#1930) 2023-05-25 21:46:58 +08:00
database.ts feat: infer belongs to association field in view collection (#1756) 2023-06-04 13:04:56 +08:00
filter-match.ts fix(database): filter match (#1319) 2023-01-03 13:38:20 +08:00
filter-parser.ts fix: parse nested associations in filterParser (#1941) 2023-05-26 14:48:20 +08:00
index.ts feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
inherited-collection.ts fix: inherit startup sort (#1402) 2023-01-29 15:46:53 +08:00
inherited-map.ts fix: remove node after collection removed (#1095) 2022-11-16 20:10:26 +08:00
magic-attribute-model.ts feat(plugin-cm): add unique option for base fields (#745) 2022-08-20 23:23:13 +08:00
migration.ts feat: improve migrations (#510) 2022-06-17 10:25:59 +08:00
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 feat: database view collection (#1587) 2023-04-01 21:56:01 +08:00
options-parser.ts chore(database): append inherit inspect attribute with eager load (#2010) 2023-06-08 17:58:39 +08:00
playground.ts Feat/create nocobase app (#273) 2022-04-17 10:00:42 +08:00
repository.ts refactor(db): add batch logic to update for better performance (#2070) 2023-06-21 16:37:06 +08:00
sync-runner.ts chore: inhertis api with difference schema (#1545) 2023-04-06 09:05:47 +08:00
types.ts fix: eslint (#1759) 2023-04-25 13:12:14 +08:00
update-associations.ts fix(database): update association values with nested associations (#1970) 2023-06-01 23:27:57 +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: infer belongs to association field in view collection (#1756) 2023-06-04 13:04:56 +08:00