There are two operators for JSONB in Postgres:
->
: returns JSONB->>
: returns a string
If you need to dig into an object use ->
. For the last access use ->>
to return a string:
Nov 14, 2024
There are two operators for JSONB in Postgres:
->
: returns JSONB->>
: returns a stringIf you need to dig into an object use ->
. For the last access use ->>
to return a string: