forked from cornucopia-rs/cornucopia
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Virgiel
committed
Jun 9, 2022
1 parent
5105b59
commit ab1f2d1
Showing
7 changed files
with
924 additions
and
240 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
--:row CompactRow() | ||
--: row SpaceRow () | ||
--:param CompactField(a?,b?,c?) | ||
--:param SpaceField ( a? , b? , c? ) | ||
|
||
--! select_compact | ||
SELECT * FROM clone; | ||
--! select_spaced | ||
SELECT * FROM clone ; | ||
|
||
--!implicit_compact(name?,price?):(id?) | ||
INSERT INTO item (name, price, show) VALUES (:name, :price, false) RETURNING id; | ||
--! implicit_spaced ( name? , price? ) : ( id? ) | ||
INSERT INTO item (name, price, show) VALUES (:name, :price, false) RETURNING id; | ||
|
||
--!named_compact Params:Row | ||
INSERT INTO item (name, price, show) VALUES (:name, :price, false) RETURNING id; | ||
--! named_spaced Params : Row | ||
INSERT INTO item (name, price, show) VALUES (:name, :price, false) RETURNING id; |
Oops, something went wrong.