Faisal Abid
Faisal Abid

Reputation: 9140

ColdFusion EntityLoad Filter

How would I in ColdFusion add <= in my Filter Criteria. I was trying this

EntityLoad("Entity",{someProperty <= value});

but with no luck

Upvotes: 5

Views: 1783

Answers (1)

Henry
Henry

Reputation: 32905

use HQL http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSf0ed2a6d7fb07688310730d81223d0356fc-7ffe.html

resultArray = ormExecuteQuery("from Entity where someProperty <= ?", [value])

Upvotes: 4

Related Questions