We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
populate_tournament_path
1 parent ef1c7b9 commit aced750Copy full SHA for aced750
src/schema/resources/event.ts
@@ -163,7 +163,7 @@ const populate_initial_computed = /* surrealql */ `
163
164
const populate_tournament_path = /* surrealql */ `
165
DEFINE EVENT populate_tournament_path ON event WHEN $event = "CREATE" THEN {
166
- UPDATE $value.id SET computed = array::append(($value.tournament.tournament_path ?? []), $value.id);
+ UPDATE $value.id SET tournament_path = array::append(($value.tournament.tournament_path ?? []), $value.id);
167
};
168
`;
169
0 commit comments