-
Notifications
You must be signed in to change notification settings - Fork 833
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
Pulung Ragil
committed
Dec 10, 2024
1 parent
f49a494
commit 15722a5
Showing
4 changed files
with
4 additions
and
148 deletions.
There are no files selected for viewing
29 changes: 2 additions & 27 deletions
29
...d/testdata/json_traversal_as_select_expr_with_type_cast/postgresql/pgx/v5/go/query.sql.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
8 changes: 2 additions & 6 deletions
8
...ndtoend/testdata/json_traversal_as_select_expr_with_type_cast/postgresql/pgx/v5/query.sql
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,7 +1,3 @@ | ||
-- name: MyGet :many | ||
SELECT *, (mt.myjson->'thing1'->'thing2')::text, mt.myjson->'thing1' | ||
FROM "mytable" mt; | ||
|
||
-- name: MyGet2 :many | ||
SELECT id::text | ||
FROM "mytable" mt; | ||
SELECT *,(mt.myjson -> 'thing1' -> 'thing2')::text,mt.myjson -> 'thing1' | ||
FROM mytable mt; |
85 changes: 0 additions & 85 deletions
85
.../testdata/json_traversal_as_select_expr_with_type_cast/postgresql/pgx/v5/stmttreejson.txt
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
...tdata/json_traversal_as_select_expr_with_type_cast/postgresql/pgx/v5/stmttreeordinary.txt
This file was deleted.
Oops, something went wrong.