feat: allow spreading one-to-many and many-to-many embedded resources

* Note: Aggregates are not implemented
This commit is contained in:
Laurence Isla
2025-03-24 14:45:56 +00:00
committed by GitHub
parent 09ba7c0d28
commit 0b618d0bef
14 changed files with 1001 additions and 253 deletions
+21
View File
@@ -3779,3 +3779,24 @@ CREATE TABLE test.albums (
ON UPDATE CASCADE
ON DELETE CASCADE
);
create table operators (
id int primary key,
name text,
status jsonb
);
create table process_operator (
process_id int references processes(id),
operator_id int references operators(id),
primary key (process_id, operator_id)
);
create table factory_buildings (
id int primary key,
code char(4),
size numeric,
"type" char(1),
factory_id int references factories(id),
inspections jsonb
);