Closed dshukertjr closed 1 year ago
Currently, calling .select() on query builder will add select=* every single time it's being called resulting in a url like this:
.select()
select=*
supabase.from('').select().select().select();
results in:
/rest/v1/todos?select=%2A&select=%2A&select=%2A
This PR fixes this so that calling multiple .select() will just override each other resulting in a URL like this:
/rest/v1/todos?select=%2A
What kind of change does this PR introduce?
Currently, calling
.select()
on query builder will addselect=*
every single time it's being called resulting in a url like this:results in:
This PR fixes this so that calling multiple .select() will just override each other resulting in a URL like this: