Skip to content

How to filter on the contents of an array of objects, with a specified key containing a specified value? #2761

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

You must be logged in to vote

I found the url I am after:

http://localhost:3000/projects?select=id,name&locations=cs.[{"id": 4}]

with url escaping:

http://localhost:3000/projects?select=id%2Cname&locations=cs.%5B%7B%22id%22%3A%204%7D%5D

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dnk8n
Comment options

@dnk8n
Comment options

Answer selected by dnk8n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant