chore: make returning optional for insert/update queries (#19463)

* chore: make returning optional for insert/update queries

* use arrow function for SupabaseGridLayout

* add success toasts
This commit is contained in:
Alaister Young
2023-12-11 18:04:49 +10:00
committed by GitHub
parent 7adf366c22
commit 35e5b6b87b
8 changed files with 179 additions and 244 deletions

View File

@@ -44,7 +44,7 @@ export async function executeSql(
| 'isRoleImpersonationEnabled'
>,
signal?: AbortSignal
) {
): Promise<{ result: any }> {
if (!projectRef) throw new Error('projectRef is required')
let headers = new Headers()