Created
March 19, 2013 12:40
-
-
Save jbuda/5195764 to your computer and use it in GitHub Desktop.
CF ORM Named parameters
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
public array function search(string crit) { | |
var qry = "from vendors and (description like '#arguments.crit#' or vendor like '#arguments.crit#')"; | |
var r = ORMExecuteQuery(qry); | |
return r; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment