Commit graph

10 commits

Author SHA1 Message Date
04b61f9787
Set relations to retrieve by a query at compile time.
+ Add compile-time utility functions to build strings and queries.
* Relations to retrieve when querying a model must now be set at comptime.
2024-11-22 22:36:51 +01:00
5a2964622c
Relations definition and SQL query build improvements.
+ Relations definition.
+ Add test submodels in testing database.
* Generalize raw SQL query preparation and build.
* Simplify and improve SQL query build algorithms.
2024-11-22 15:41:05 +01:00
cc4c808937
Add sessions (as a specific database connector) and transactions.
Closes #2
2024-10-22 16:28:06 +02:00
fee00d5bc9
Allow tests to be run in any order. 2024-10-22 15:44:41 +02:00
7e31368fa3
Introduce generic connectors and connections and use them in the queries. 2024-10-22 14:09:02 +02:00
650d2515be
Add generic helper functions for models which have the same table definition. 2024-10-17 19:08:39 +02:00
e2bce7e7a1
Apply insertable automatically to insertShape of repository configuration. 2024-10-17 19:08:23 +02:00
9d0cc13b65
Add InsertableStruct to define insertShapes more easily. 2024-10-17 18:34:49 +02:00
7734cea9d0
Allow arrays as model key in repository find function. 2024-10-16 14:07:40 +02:00
0eecb4df99
Create ZRM, repositories and its related queries. 2024-10-16 12:01:16 +02:00