Skip to content

how to select with condition? #1969

Answered by steve-chavez
imknight asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @imknight,

how do I query with API for SQL "Select * from projects where user_id in ( select * from users )"

You'll need to create a view for this case, see Custom Queries.

how do I query with the relation key? I manage to have /rest/v1/projects?select=*,development(name) to get all projects with development, how can I match it with development name?

Check Embedded filters.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by steve-chavez
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