-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
3 changed files
with
39 additions
and
6 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
13 changes: 13 additions & 0 deletions
13
...-examples-maven/yosql-examples-maven-jdbc-java16/src/main/yosql/user/queryUnnamedUser.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* | ||
* This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level | ||
* directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of yosql, | ||
* including this file, may be copied, modified, propagated, or distributed except according to the terms contained | ||
* in the LICENSE file. | ||
*/ | ||
|
||
-- returningMode: ONE | ||
select * | ||
from users | ||
where name = ? | ||
and id = :userId | ||
; |