Ejemplo n.º 1
0
 /**
  * @param DriverInterface $driver
  * @return string
  */
 private function compileValues(DriverInterface $driver)
 {
     return '("' . implode('", "', $driver->escapeValues($this->values)) . '")';
 }
Ejemplo n.º 2
0
 /**
  * @param DriverInterface $driver
  * @return string
  */
 private function compileValues(DriverInterface $driver)
 {
     $rows = [];
     foreach ($this->values as $values) {
         $rows[] = '"' . implode('", "', $driver->escapeValues($values)) . '"';
     }
     return '(' . implode('), (', $rows) . ')';
 }