mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
10 lines
118 B
TypeScript
10 lines
118 B
TypeScript
export function wrapWithTransaction(sql: string) {
|
|
return /* SQL */ `
|
|
begin;
|
|
|
|
${sql}
|
|
|
|
commit;
|
|
`
|
|
}
|