© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
5 replies
NED

String escaping in supabase-js filters

Hi!
What recommendations would you give for escaping a string when using the
or
or
operator.
Example
.or(created_by.eq.${ authorisedUserId },visibility.cs.{${ ['all'] }})
.or(created_by.eq.${ authorisedUserId },visibility.cs.{${ ['all'] }})

Where authorisedUserId can contain any characters.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Supabase JS help
SupabaseSSupabase / help-and-questions
4y ago
Supabase Not Working In Node.js TypeScript
SupabaseSSupabase / help-and-questions
4y ago
Hide warning getSession warning in supabase-js ?
SupabaseSSupabase / help-and-questions
2mo ago
Intermittent Supabase JS issues
SupabaseSSupabase / help-and-questions
4w ago