You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEtest.groups (
name textPRIMARY KEY
);
CREATETABLEtest.yards (
id bigintPRIMARY KEY
);
CREATETABLEtest.group_yard (
id bigintNOT NULL,
group_id textNOT NULLREFERENCEStest.groups(name),
yard_id bigintNOT NULLREFERENCEStest.yards(id),
PRIMARY KEY (id, group_id, yard_id)
);
CREATEFUNCTIONtest.get_yards() RETURNS SETOF test.yards
LANGUAGE sql
AS $$
select*fromtest.yards;
$$;
$ curl "localhost:3000/rpc/get_yards?select=groups(*)"
{"code":"42703","details":null,"hint":null,"message":"column get_yards.name does not exist"}
# this works
$ curl "localhost:3000/rpc/get_yards?select=*,groups(*)"
[]
Doesn't happen on v9.0.0 or v9.0.1.
The text was updated successfully, but these errors were encountered:
Doesn't happen on v9.0.0 or v9.0.1.
The text was updated successfully, but these errors were encountered: