S
Supabase•2mo ago
bensua

Does supabase-js support column suggestion?

Hi 👋 , I have a silly question, does supabase-js support column suggestion in its queries? (I could be expecting too much) Context: I created a database.types.ts and createClient<Database> and tried to use it like:
supabaseClient.from([table]).select([column]).eq([column], userId),
supabaseClient.from([table]).select([column]).eq([column], userId),
If I tab inside select or eq, I expected columns to be suggested but none appeared (for select, only * appeared). With from() I could tab and see the suggested tables. I have the latest package "@supabase/supabase-js": "^2.50.5"
1 Reply
Harsh
Harsh•2mo ago
I think there's some kind of mismatch in ssr package and supabase-js package for types. This weird hack is giving me types
No description

Did you find this page helpful?