Closed roboncode closed 1 year ago
Can't reproduce with plain curl calls or postgrest-js:
curl 'localhost:3000/projects?name=eq.foo:bar'
[{"id":6,"name":"foo:bar","client_id":null}]
const { PostgrestClient } = require('.')
const postgrest = new PostgrestClient('http://localhost:3000')
postgrest.from('projects').select('*').eq('name','foo:bar').
then(({ data, error }) => console.log(data, error))
[ { id: 6, name: 'foo:bar', client_id: null } ]
@roboncode I suggest to try different eq
values and see if it's indeed a problem with colons or maybe no result is returned due to RLS.
Bug report
Describe the bug
Performing the following query returns a null result.
A query using supabase-js that contains a colon (":") returns a null result.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
To work like SQL equivalent
Screenshots
N/A
System information