mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
* Update * Clean up + fix UI * Add data values to tab * Add comment * Format sql query in query details * Clean uo * Deprecate old files * Address comments * chore: update styles (#22591) * Midway integrating index advisor * Add feature flag, reinstate old UI for feature flag * First iteration of integrating index advisor * Add more details in index advisor and add feature flag * Shift explain_query function into pg_temp * Clean uo * fix padding * Update apps/studio/components/interfaces/QueryPerformanceV2/QueryPanel.tsx Co-authored-by: Alaister Young <alaister@users.noreply.github.com> * Update UI * Address some feedback * Moar addressing feedback * Update docs url --------- Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com> Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
11 lines
620 B
TypeScript
11 lines
620 B
TypeScript
export const databaseKeys = {
|
|
schemaList: (projectRef: string | undefined) => ['projects', projectRef, 'schemas'] as const,
|
|
backups: (projectRef: string | undefined) => [projectRef, 'database', 'backups'] as const,
|
|
poolingConfiguration: (projectRef: string | undefined) =>
|
|
[projectRef, 'database', 'pooling-configuration'] as const,
|
|
indexesFromQuery: (projectRef: string | undefined, query: string) =>
|
|
['projects', projectRef, 'indexes', { query }] as const,
|
|
indexAdvisorFromQuery: (projectRef: string | undefined, query: string) =>
|
|
['projects', projectRef, 'index-advisor', { query }] as const,
|
|
}
|