The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix: small Sentry error for undefined value (#40874)
Ali Waseem58a4e7365032
diff --git a/apps/studio/data/database/retrieve-index-advisor-result-query.ts b/apps/studio/data/database/retrieve-index-advisor-result-query.tsindex 0f6d9f0b888..3a90de6d2ac 100644--- a/apps/studio/data/database/retrieve-index-advisor-result-query.ts+++ b/apps/studio/data/database/retrieve-index-advisor-result-query.ts@@ -56,6 +56,6 @@ export const useGetIndexAdvisorResult = <TData = GetIndexAdvisorResultData>(typeof projectRef !== 'undefined' &&typeof query !== 'undefined' &&(query.startsWith('select') || query.startsWith('SELECT'))) ||- query.trim().toLowerCase().startsWith('with pgrst_source'),+ (typeof query === 'string' && query.trim().toLowerCase().startsWith('with pgrst_source')),...options,})