© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
7 replies
towels42

Are periods supported in key names of JSONB values?

I'm storing the following shape of data in a JSONB type field:
column
--------------
{
  "foo.domain.com": {...},
  "bar.domain.com": {...}
}
column
--------------
{
  "foo.domain.com": {...},
  "bar.domain.com": {...}
}

However, when I run a query like:
client.from("table").select("column->foo.domain.com")
client.from("table").select("column->foo.domain.com")

or
client.from("table").select("column->'foo.domain.com'")
client.from("table").select("column->'foo.domain.com'")

I get the result
{foo: null}
{foo: null}

or an error
PGRST100, details: unexpected "'" expecting "-"
PGRST100, details: unexpected "'" expecting "-"
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

Query data in jsonb values array
SupabaseSSupabase / help-and-questions
4y ago
jsonb[] only inserts 49 values and then truncates
SupabaseSSupabase / help-and-questions
8mo ago
Querying Multiple Keys of JSONB
SupabaseSSupabase / help-and-questions
4y ago
Array of jsonb .or() not working
SupabaseSSupabase / help-and-questions
4y ago