$query = $table-find()
$query-select(['distance' = $query-newExpr($rawSQL)])-having(['distance
=' = $distance])
On Monday, August 25, 2014 2:59:01 AM UTC+2, Andras Kende wrote:
Hello,
Im trying to convert this geolocator query from 2.5 to 3.0 orm but no luck
so far.
CakePHP 2.5, this
Hi Jose,
I got it working as :
$query = $this-find('all', array(
'limit' = 200,
'order' = array(
'distance' = 'ASC',
'name' = 'ASC',
),
Hello,
Im trying to convert this geolocator query from 2.5 to 3.0 orm but no luck so
far.
CakePHP 2.5, this works fine:
$results = $this-find('all', array(
'limit' = 200,
'order' = array(
'distance' = 'ASC',
'name' = 'ASC',
),