-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Labels
bugSomething isn't workingSomething isn't workinghas workaroundIssue has a valid workaround.Issue has a valid workaround.postgrest-jsRelated to the postgrest-js library.Related to the postgrest-js library.
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Hi! We are trying to query the data from our jsonb column that has a special symbol @.
We are following the recommended spec by schema-dts
This is an example of code snippet we run:
const { data, error } = await supabase
.from('item')
.select(
`*, userId, media3Id(*), blockId!inner(*, media3Id!inner(*), consumptionId), newId, customData`,
)
.eq('media3Id->data->>schemaOrg2->>@type', schemaPrefix)
.eq('userId', input.userId)
.order('createdAt', { ascending: false });
if (error) {
This is the result that we see
unexpected "@" expecting "-", digit or field name (* or [a..z0..9_$])
Is there anything that we are missing?
To Reproduce
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghas workaroundIssue has a valid workaround.Issue has a valid workaround.postgrest-jsRelated to the postgrest-js library.Related to the postgrest-js library.
