mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 22:29:11 +03:00
fix(studio): uniformize readDatabase and projectDetails connString handling
This commit is contained in:
1 parent
93d8567695
commit
8726ac65e9
2 files changed
+9
-4
No files matched your search
@@ -42,6 +42,7 @@ export async function executeSql(
|
||||
headersInit?: HeadersInit
|
||||
): Promise<{ result: any }> {
|
||||
if (!projectRef) throw new Error('projectRef is required')
|
||||
if (!connectionString) throw new Error('Project connection string is required')
|
||||
|
||||
const sqlSize = new Blob([sql]).size
|
||||
// [Joshen] I think the limit is around 1MB from testing, but its not exactly 1MB it seems
|
||||
|
||||
Reference in new issue
Block a user