mirror of
https://github.com/supabase/supabase.git
synced 2026-06-08 10:33:55 +08:00
Chore/sql editor pagination of results (#26857)
* Add pagination to SQL editor for results longer than 100 rows * Change pagination to automatically setting a limit * Fix * Address initial comments * Compress SQL editor actions when ai assistant is open and screen is of a certain width * Fix checking * Add some fixes and tests * Add a message if the query had an error and the limit was applied * Rename to suffixWithLimit * Small refactor and fix
This commit is contained in:
@@ -15,6 +15,7 @@ export type ExecuteSqlVariables = {
|
||||
queryKey?: QueryKey
|
||||
handleError?: (error: ResponseError) => { result: any }
|
||||
isRoleImpersonationEnabled?: boolean
|
||||
autoLimit?: number
|
||||
}
|
||||
|
||||
export async function executeSql(
|
||||
|
||||
Reference in New Issue
Block a user