© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
33 replies
GeneralKugelBlitz

can't fetch data from contains condition

I have a table named Startup which has an array text field. I want to know how to get the records in the table when the given topic matches the topics inside the topics array.

From documentation I tried code
supabase.table('Startups').select('name').contained_by('topics', ['Productivity']).execute()
supabase.table('Startups').select('name').contained_by('topics', ['Productivity']).execute()

but it comes out empty even though in the image attached it exists inside the table.
image.png
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

Can I get loading state from data fetch?
SupabaseSSupabase / help-and-questions
4y ago
Failing to fetch data from tables in expo
SupabaseSSupabase / help-and-questions
4y ago
How to fetch data from Supabase to Email template
SupabaseSSupabase / help-and-questions
4y ago
Filter from JSON with CS (contains)
SupabaseSSupabase / help-and-questions
4y ago