amitaibu / ihp-cms-starter

5 stars 2 forks source link

WIP: Query by pairs of values #30

Closed amitaibu closed 3 months ago

amitaibu commented 11 months ago

I'm trying to query records by pair of values.

I have these projects:

image

Let's say I want to fetch only the records that have (ProjectTypeOngoing, 2) and (ProjectTypeNotStarted, 3)

You can grab this PR, make db and go to http://localhost:8000/Projects