generated from giis-uniovi/samples-giis-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d843f1
commit bff8b18
Showing
2 changed files
with
3 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FOR $1,$2 = SELECT parent_guid, id FROM comments WHERE parent_guid>'F' ALLOW FILTERING | ||
FOR $3,$4 = SELECT parent_guid, id FROM comments WHERE parent_guid>'P' ALLOW FILTERING | ||
FOR $5,$6 = SELECT parent_guid, id FROM comments WHERE parent_guid<'P' ALLOW FILTERING | ||
FOR $1,$2 = SELECT parent_guid, id FROM comments WHERE parent_guid<'F' ALLOW FILTERING | ||
FOR $3,$4 = SELECT parent_guid, id FROM comments WHERE parent_guid<'P' ALLOW FILTERING | ||
FOR $5,$6 = SELECT parent_guid, id FROM comments WHERE parent_guid>'P' ALLOW FILTERING | ||
INSERT INTO comments(parent_guid_c1, id) VALUES ($1, $2); | ||
INSERT INTO comments(parent_guid_c2, id) VALUES ($3, $4); | ||
INSERT INTO comments(parent_guid_c3, id) VALUES ($5, $6); |