Transactions inside functions in SurrealDB
Is there a way to commit data inside a function in SurrealDB? It throws a syntax error if I place BEGIN TRANSACTION
within the {
and }
blocks:
Is there a way to commit data inside a function in SurrealDB? It throws a syntax error if I place BEGIN TRANSACTION
within the {
and }
blocks: