quoteColumn() 공개 메소드

column quote can be configured by 'quote_column' option.
public quoteColumn ( string $name ) : string
$name string column name
리턴 string column name with/without quotes.
예제 #1
0
 public function buildSetClause(BaseDriver $driver, ArgumentArray $args)
 {
     $setClauses = array();
     foreach ($this->sets as $col => $val) {
         $setClauses[] = $driver->quoteColumn($col) . " = " . $driver->deflate($val);
     }
     return ' SET ' . join(', ', $setClauses);
 }