Skip to content

Commit

Permalink
Improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu committed Nov 17, 2023
1 parent b935dba commit 68b5575
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Guide/database.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ INSERT INTO public.projects (id, project_type, participants) VALUES ('687e32f5-8
ALTER TABLE public.projects ENABLE TRIGGER ALL;
```
Now, let's say we want to retrieve all projects that are of type project_type_ongoing and have 2 participants. The filterWhere function is not suitable here since we need to query by two parameters.
Now, let's say we want to retrieve all projects that are of type Ongoing and have 1 participant, and the Finished ones with 2 participants. The filterWhere function is not suitable here since we need to query by two parameters.
First, we must implement ToField to allow using a tuple of `(ProjectType, Int)` as a parameter:
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 68b5575

Please sign in to comment.