public function insert(array $values)
    {
        $query = new Query\InsertQuery();

        if ($this->pdo) {
            $query->setPDO($this->pdo);
        }

        return $query->values($values);
    }
public function insert(array $values)
    {
        $query = new Query\InsertQuery();

        if ($this->pdo) {
            $query->setPDO($this->pdo);
        }

        return $query->values($values);
    }
public function insert ( array $ values ) { $ query = new Query \ InsertQuery ( ) ; if ( $ this -> pdo ) { $ query -> setPDO ( $ this -> pdo ) ; } return $ query -> values ( $ values ) ; }
Creates an INSERT query.

@param array $values insert values

@return \JAQB\Query\InsertQuery
Creates an INSERT query .