Closed zlwaterfield closed 4 years ago
I think this one should be a docs edit.
We don't won't "execute" the command until we know whether the users is select
ing, update
ing, delete
ing etc
I'm guessing the "If not used, all columns in the table will be returned" is referring to not using the columns
param. i.e.
await SupabaseService
.from<InvitationQuestion>('invitation_question')
.select('*')
.eq('wedding_id', this.weddingId)
.select()
The empty .select()
should return all columns
Ah ok thanks, ya it might just be a document change needed. I can make a PR for that.
PR was merge.
Thanks for the PR @zlwaterfield !
Bug report
Describe the bug
When I do not include
.select('*')
on the query the SupabaseClient is returned and the request is not made. The documentation says: "If not used, all columns in the table will be returned." so both should work based on that wording.With select
res result:
Without select
res result: