Created
August 7, 2015 20:14
-
-
Save chippinkston/a63033dcd3dd66581fd5 to your computer and use it in GitHub Desktop.
A demo FW/1 service to test DB connections
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
| component accessors=true output=false persistent=false { | |
| property datasource; | |
| public query function getOneRecord(){ | |
| var q = queryExecute( | |
| "select name, abbrev from state limit 1" | |
| , {datasource = "#getDatasource().name#"} | |
| ); | |
| return q; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment