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