Dynamic Finders+Counters
Dynamic Finders and Counters - Utilize dynamic methods for querying ColdFusion ORM entities.
users = getInstance( "User" )
.findAllByLastLoginBetweeninGreaterThan( "01/01/2010" );
users = getInstance( "User" )
.findAllByLastLoginGreaterThanAndLastNameLike( "01/01/2010", "jo%" );
count = getInstance( "User" )
.countByLastLoginGreaterThan( "01/01/2010" );
count = getInstance( "User" )
.countByLastLoginGreaterThanAndLastNameLike( "01/01/2010", "jo%" );Automatic Casting
Streams
Last updated
Was this helpful?