Skip to content

json/jsonb functions and operators #314

Answered by gkaracha
gkaracha asked this question in Q&A
Discussion options

You must be logged in to vote

Indeed with the latest release one can simply do the following so I think we can close this :)

arrayElements :: Expr (Maybe Value) -> Query (Expr Value)
arrayElements = queryFunction "jsonb_array_elements"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@gkaracha
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by gkaracha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants