nativeQuery() закрытый публичный Метод

Executes the SQL query.
final public nativeQuery ( $sql ) : Result | integer
Результат Result | integer result set object (if any)
Пример #1
0
 protected function query($sql)
 {
     if (!is_array($sql)) {
         $sql = [$sql];
     }
     foreach ($sql as $query) {
         $this->dibiConnection->nativeQuery($query);
     }
 }
Пример #2
0
 public function exec($sql)
 {
     return $this->conn->nativeQuery($sql);
 }