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