Madeorsk
  • Joined on 2024-04-07
678 contributions in the last 12 months
JulAugSepOctNovDecJanFebMarAprMayJunMonWedFri
Less
More
Madeorsk pushed to main at zedd/zrm 2024-11-27 15:26:47 +01:00
b897ce70ab Rename relations to relationships.
Madeorsk closed issue zedd/zrm#11 2024-11-27 15:26:47 +01:00
Rename relations to relationships
Madeorsk opened issue zedd/zrm#11 2024-11-27 14:43:27 +01:00
Rename relations to relationships
Madeorsk opened issue zedd/zrm#10 2024-11-27 14:42:24 +01:00
Add visual diagrams for relationships in documentation
Madeorsk pushed to main at zedd/zrm 2024-11-26 16:02:02 +01:00
66cf93d6f7 Update pg.zig to latest 0.13 version.
Madeorsk closed issue zedd/zrm#4 2024-11-26 16:00:13 +01:00
Relations
Madeorsk commented on issue zedd/zrm#4 2024-11-26 16:00:12 +01:00
Relations

This is now fully implemented, see tests/example.zig as an example code with all types of relations.

Madeorsk pushed to main at zedd/zrm 2024-11-26 14:04:34 +01:00
9567e57278 Allow pointers as one relations values.
Madeorsk pushed to main at zedd/zrm 2024-11-26 12:56:49 +01:00
3501c48eaf Add a new full example model with all relations types.
854c66e78b Allow tests to be run in any order.
141c5e674c Guess reverse one relation foreign key.
Compare 3 commits »
Madeorsk pushed to main at zedd/zrm 2024-11-26 12:18:02 +01:00
27fe66ef03 Add quotes to columns names in one relations and add missing space when one relation is through a table.
Madeorsk pushed to main at zedd/zrm 2024-11-26 10:46:50 +01:00
66a494cc0b Fix keys in many relation query through a pivot table.
Madeorsk pushed to main at zedd/zrm 2024-11-26 10:28:37 +01:00
cbca46020e Fix query syntax for many relation through a pivot table.
Madeorsk pushed to main at zedd/zrm 2024-11-26 10:25:32 +01:00
5382371954 Fix memory leaks when an error is returned while reading results.
Madeorsk pushed to main at zedd/zrm 2024-11-26 00:34:00 +01:00
56d9414dfa Detect NULL relations.
Madeorsk pushed to main at zedd/zrm 2024-11-25 23:29:09 +01:00
916def2046 Add table name to key name in whereKey to prevent ambiguous names with inline relations.
Madeorsk pushed to main at zedd/zrm 2024-11-25 23:29:00 +01:00
a22a82f60b Add table name to key name in whereKey to prevent ambiguous names with relations.
Madeorsk pushed to main at zedd/zrm 2024-11-25 23:24:27 +01:00
8bc551b55b Fix double release of the same connection when executing a query.
Madeorsk pushed to main at zedd/zrm 2024-11-25 23:12:49 +01:00
fc6cbaa2b9 Fix TableWithRelations for TableShape with declarations.
4782cbb37a Base TableModel helpers on TableShape instead of Model.
Compare 2 commits »
Madeorsk pushed to main at zedd/zrm 2024-11-25 18:47:26 +01:00
21a2e88295 SQL string runtime allocation is no more needed since the prefix is now always comptime-known.
Madeorsk pushed to main at zedd/zrm 2024-11-25 18:42:21 +01:00
97c4c429e1 Easier access to relations types and comptime values and improved definition process.