src/Titon/Db/Driver/AbstractPdoDriver.php
public function resolveParams(Query $query) {
        $params = [];
        $schema = $query->getRepository()->getSchema()->getColumns();

        foreach ($query->getGroupedBindings() as $groupedBinds) {
            foreach ($groupedBinds as $binds) {
                $params[] = $this->resolveBind($binds['field'], $binds['value'], $schema);
            }
        }

        foreach ($query->getCompounds() as $compound) {
            $params = array_merge($params, $this->resolveParams($compound));
        }

        return $params;
    }
public function resolveParams(Query $query) {
        $params = [];
        $schema = $query->getRepository()->getSchema()->getColumns();

        foreach ($query->getGroupedBindings() as $groupedBinds) {
            foreach ($groupedBinds as $binds) {
                $params[] = $this->resolveBind($binds['field'], $binds['value'], $schema);
            }
        }

        foreach ($query->getCompounds() as $compound) {
            $params = array_merge($params, $this->resolveParams($compound));
        }

        return $params;
    }
public function resolveParams ( Query $ query ) { $ params = [ ] ; $ schema = $ query -> getRepository ( ) -> getSchema ( ) -> getColumns ( ) ; foreach ( $ query -> getGroupedBindings ( ) as $ groupedBinds ) { foreach ( $ groupedBinds as $ binds ) { $ params [ ] = $ this -> resolveBind ( $ binds [ 'field' ] , $ binds [ 'value' ] , $ schema ) ; } } foreach ( $ query -> getCompounds ( ) as $ compound ) { $ params = array_merge ( $ params , $ this -> resolveParams ( $ compound ) ) ; } return $ params ; }
Resolve the list of values that will be required for PDO statement binding.

@param \Titon\Db\Query $query
@return array
Resolve the list of values that will be required for PDO statement binding .