cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
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)".

View raw message