public function insert(array $columnValues, bool $addBooleanColumnFalse = false)
    {
        if ($addBooleanColumnFalse) {
            $columnValues = $this->addBooleanColumnFalse($columnValues);
        }
        $ib = new InsertBuilder($this->tableName);
        if ($this->getPrimaryKeyColumnName() !== null) {
            $ib->setPrimaryKeyName($this->getPrimaryKeyColumnName());
        }
        $this->addColumnsToBuilder($ib, $columnValues);
        return $ib->runExecute();
    }
public function insert(array $columnValues, bool $addBooleanColumnFalse = false)
    {
        if ($addBooleanColumnFalse) {
            $columnValues = $this->addBooleanColumnFalse($columnValues);
        }
        $ib = new InsertBuilder($this->tableName);
        if ($this->getPrimaryKeyColumnName() !== null) {
            $ib->setPrimaryKeyName($this->getPrimaryKeyColumnName());
        }
        $this->addColumnsToBuilder($ib, $columnValues);
        return $ib->runExecute();
    }
public function insert ( array $ columnValues , bool $ addBooleanColumnFalse = false ) { if ( $ addBooleanColumnFalse ) { $ columnValues = $ this -> addBooleanColumnFalse ( $ columnValues ) ; } $ ib = new InsertBuilder ( $ this -> tableName ) ; if ( $ this -> getPrimaryKeyColumnName ( ) !== null ) { $ ib -> setPrimaryKeyName ( $ this -> getPrimaryKeyColumnName ( ) ) ; } $ this -> addColumnsToBuilder ( $ ib , $ columnValues ) ; return $ ib -> runExecute ( ) ; }
returns primary key if set, otherwise returns pg result
returns primary key if set otherwise returns pg result