Closed roquie closed 2 years ago
Also didn't work with insert queries:
INSERT INTO "presences" ("verified_at", "status", "comment", "id", "{relationName}_role", "student_day_id", "author_id") VALUES ('2022-01-17T10:42:31+00:00', 'initiated', NULL, '0a997a4d-beeb-4e75-a8af-9e96febcf5a5', 'serviceAccount', '5cf70658-2f0b-4a03-b27a-07078b53e4f6', 'c1c1cd29-ccb2-48d9-bbb8-63a8705fb62f') RETURNING "id"
BelongsToMorphed
annotation.
Generated SQL:
Sample code to reproduce:
{relationName}
– is a template variable which not replaced before query execution.P.S.
8.1.1
2.0