示例#1
0
 /**
  * Append numeric array of values.
  * @param array $values Numeric array of values where position of each value matches the
  * position of it's filed in $fields private data member.
  * @return static
  */
 private function appendByPosition($values)
 {
     $this->setPart(CmdInsert::PART_AS, false);
     if (!$this->placeholder) {
         $this->placeholder = Assembly::placeholder(count($values), true);
     }
     return $this->appendPart(CmdInsert::PART_VALUES, $this->placeholder, $values);
 }