We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
queryOrList
IHP.QueryBuilder
Use would be something like this:
action ProjectsAction = do let values :: [(ProjectType, Int)] = [(ProjectTypeOngoing, 3), (ProjectTypeNotStarted, 2)] valuePairToCondition :: (ProjectType, Int) -> QueryBuilder "projects" valuePairToCondition (projectType, participants) = query @Project |> filterWhere (#projectType, projectType) |> filterWhere (#participants, participants) theQuery = queryOrList (map valuePairToCondition values) projects <- fetch theQuery render IndexView { .. }
The text was updated successfully, but these errors were encountered:
ToField
IN
@mpscholten can you please give some pointers. Maybe I can give it a first try
Sorry, something went wrong.
No branches or pull requests
Use would be something like this:
The text was updated successfully, but these errors were encountered: