Created
April 22, 2015 21:00
-
-
Save andrew-dixon/c9a6583ef9adb24e2e66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function createPeople() { | |
local.qry=QueryExecute("select lastName, firstName from people"); | |
local.people=[]; | |
loop query="#qry#" { | |
people[qry.currentrow] = new Person(firstName, lastName); | |
} | |
return people; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment