标签: orm syntax coldfusion
我如何在ColdFusion中添加< =在我的过滤条件中。我正在尝试这个
EntityLoad("Entity",{someProperty <= value});
但没有运气
答案 0 :(得分:4)
使用HQL http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSf0ed2a6d7fb07688310730d81223d0356fc-7ffe.html
resultArray = ormExecuteQuery("from Entity where someProperty <= ?", [value])