Last active
June 5, 2017 11:55
-
-
Save barkady/38d782742f859a286b0b693c84f028e5 to your computer and use it in GitHub Desktop.
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
typedef Tuple Person; | |
Person pHomer, pLisa; | |
int aHomer(42), aLisa(10), aBart(0); | |
session << "SELECT * FROM Person WHERE Age = ?; " | |
"SELECT Age FROM Person WHERE FirstName = 'Bart'; " | |
"SELECT * FROM Person WHERE Age = ?", | |
into(pHomer, 0), use(aHomer), | |
into(aBart, 1), | |
into(pLisa, 2), use(aLisa); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment