Riqwan Thamir
4945c79818
feat(utils): infer primaryKeys from a DML model (#7839)
what:
- depending on other properties in a DML model, we infer primaryKeys between id properties and primaryKey-able properties.
```
Example:
Model 1:
id: model.id() -> primary key
code: model.text()
Model 2:
id: model.id()
code: model.text().primaryKey() -> primary key
Model 3:
id: model.id()
code: model.text().primaryKey() -> composite primary key
name: model.text().primaryKey() -> composite primary key
```
2024-06-26 09:26:09 +00:00
..
2024-06-03 07:41:09 +00:00
2024-06-24 18:54:54 +00:00
2024-06-24 08:29:18 +00:00
2024-06-26 09:26:09 +00:00
2024-06-24 17:43:49 +00:00
2024-06-03 10:18:02 +02:00
2024-06-17 18:05:05 +02:00
2024-06-03 08:29:35 +00:00
2024-06-09 12:31:28 +02:00
2024-06-25 13:43:11 +02:00
2024-06-04 13:36:06 +00:00
2024-06-21 10:41:35 +02:00
2024-06-17 18:05:05 +02:00
2024-06-05 17:33:49 +05:30
2024-06-13 09:10:12 +02:00
2024-05-30 07:23:57 -03:00
2024-06-21 10:41:35 +02:00
2024-06-20 10:45:49 +02:00
2024-06-20 10:45:49 +02:00