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
Hello, I'm wondering if it is possible to obtain the affected_row count for mutating (volatile) db functions tracked by Hasura?
It does not seem these fields are generated as they are for tables.
e.g.
CREATETABLEpublic."Item" (
id uuid DEFAULT public.gen_random_uuid() NOT NULL,
updated boolean DEFAULT false NOT NULL,
)
CREATE OR REPLACEFUNCTIONpublic.fn_update_items() RETURNS SETOF public."Item"as $$
BEGIN
RETURN QUERY UPDATE public."Item"set updated = true
RETURNING *;
RETURN;
END;
$$ LANGUAGE plpgsql;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm wondering if it is possible to obtain the
affected_row
count for mutating (volatile) db functions tracked by Hasura?It does not seem these fields are generated as they are for tables.
e.g.
Beta Was this translation helpful? Give feedback.
All reactions