Commit Graph

11 Commits

Author SHA1 Message Date
Lee Smet
87a5ae67c7
Add indexed_fields method on Model
For postgres indexes we want to know the indexed field names upfront
without an actual instance of Model

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-07-31 13:21:12 +02:00
Lee Smet
0a8c5d1c1f
Expand Index struct to also get the original field name
This is needed in postgres, since we store data as jsonb so struct
fields can't get renamed

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-07-31 12:12:06 +02:00
timurgordon
c3f6b91aa0 final db models wip 2025-06-03 21:51:21 +03:00
timurgordon
2a2d69dafb fix 2025-05-27 11:34:44 +03:00
timurgordon
93950bcab4 Merge branch 'development_add_incremental_mode_to_heromodels' 2025-05-22 18:24:11 +03:00
timurgordon
478f497316 improve model rhai scripts legibility 2025-05-22 17:55:08 +03:00
timurgordon
56ec505874 implement more models and rhai examples 2025-05-22 03:57:03 +03:00
Mahmoud Emad
57f59da43e fix: Use incremental ID 2025-05-17 13:47:17 +03:00
Mahmoud Emad
a676854251 fix: Use incremental ID 2025-05-17 13:00:05 +03:00
Mahmoud Emad
bde5db0e52 feat: Support incremental mode:
- Support incremental mode in heromodels
- Updated the example to refelct the changes
- Updated the tests to reflect the changes
2025-05-17 11:12:09 +03:00
Lee Smet
b8e1449ddb
Restructure crates for correct proc macro usage
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 13:58:17 +02:00