This repository has been archived by the owner on Mar 1, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added support for filtering by multiple relation columns
closes #14 - the code becomes a little hard to read, but i'd not refactor it till we have all cases in place
- Loading branch information
Showing
3 changed files
with
203 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"posts_tags": [ | ||
{"post_id": 1, "tag_id": 1}, | ||
{"post_id": 2, "tag_id": 2}, | ||
{"post_id": 3, "tag_id": 3}, | ||
{"post_id": 4, "tag_id": 1}, | ||
{"post_id": 4, "tag_id": 2}, | ||
{"post_id": 5, "tag_id": 1}, | ||
{"post_id": 6, "tag_id": 1}, | ||
{"post_id": 6, "tag_id": 2} | ||
{"post_id": 1, "tag_id": 1, "sort_order": 0}, | ||
{"post_id": 2, "tag_id": 2, "sort_order": 0}, | ||
{"post_id": 3, "tag_id": 3, "sort_order": 0}, | ||
{"post_id": 4, "tag_id": 1, "sort_order": 0}, | ||
{"post_id": 4, "tag_id": 2, "sort_order": 1}, | ||
{"post_id": 5, "tag_id": 1, "sort_order": 0}, | ||
{"post_id": 6, "tag_id": 1, "sort_order": 0}, | ||
{"post_id": 6, "tag_id": 2, "sort_order": 1} | ||
] | ||
} |