Class SessionSelect
Extension of Monad to allow building a SELECT statement while retaining a
reference to the Session you started with
-
Alchemy\util\Monad
-
Alchemy\orm\SessionSelect
Methods summary
public
|
|
public
array
|
#
all( )
Execute the query and return a set of all results
Execute the query and return a set of all results
Returns
array
|
public
Alchemy\orm\DataMapper
|
#
first( )
Return the first result of the query.
Return the first result of the query.
Returns
|
public
Alchemy\orm\DataMapper
|
#
one( )
Similar to Alchemy\orm\SessionSelect::first() , but doesn't actually limit the
query sent to the database. Instead, the full results of the query are
retrieved, and an exception is thrown if there are more than one.
Similar to Alchemy\orm\SessionSelect::first() , but doesn't actually limit the
query sent to the database. Instead, the full results of the query are
retrieved, and an exception is thrown if there are more than one.
Returns
|