cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Chainable SelectQuery
Date Fri, 28 Nov 2014 14:01:34 GMT
Just added another flavor of select method - 'selectFirst'. Unlike 'selectOne' intended for
queries that expect at most one row back, 'selectFirst' is a quick way to get the top-of-the-list
object, even if the query matched many objects. I.e. it is equivalent to "limit(1).selectOne(context)".

Andrus
Mime
View raw message