values([1,2]) => "INSERT INTO table VALUES(1,2)" * @param string $table * @return \phprs\ezsql\rules\insert\ValuesRule */ public function insertInto($table) { InsertImpl::insertInto($this->context, $table); return new ValuesRule($this->context); } } class ValuesRule extends BasicRule { /** * * insertInto('table')->values([1,2]) => "INSERT INTO table VALUES(1,2)" * insertInto('table')->values(['a'=>1, 'b'=>Sql::native('now()')]) => "INSERT INTO table(a,b) VALUES(1,now())" * @param unknown $values * @return \phprs\ezsql\rules\basic\ExecRule */ public function values($values) { ValuesImpl::values($this->context, $values); return new ExecRule($this->context); } }