Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 1294 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1294 Rev 1295
Línea 62... Línea 62...
62
        $select->from(['l' => LocationMapper::_TABLE]);
62
        $select->from(['l' => LocationMapper::_TABLE]);
63
        $select->join(['cl' => self::_TABLE], 'l.id = cl.location_id', ['company_location_id' => 'id', 'company_location_uuid' => 'uuid', 'location_id', 'is_main']);
63
        $select->join(['cl' => self::_TABLE], 'l.id = cl.location_id', ['company_location_id' => 'id', 'company_location_uuid' => 'uuid', 'location_id', 'is_main']);
64
        $select->where->equalTo('company_id', $company_id);
64
        $select->where->equalTo('company_id', $company_id);
65
        $select->order('is_main, formatted_address');
65
        $select->order('is_main, formatted_address');
Línea 66... Línea 66...
66
        
66
        
Línea 67... Línea 67...
67
        echo $select->getSqlString();
67
        echo $select->getSqlString($this->adapter->platform);
Línea 68... Línea 68...
68
        
68