private function insertOne(array $value)
    {
        $fields = array_keys($value);

        $sql = 'insert into `' . $this->table . '` values (';

        $sql .= implode(', ', Util::add2points($fields, true));

        $sql .= ');';

        $stmt = $this->connection->prepare($sql);

        $this->bind($stmt, $value);

        $stmt->execute();

        return (int) $stmt->rowCount();
    }
private function insertOne(array $value)
    {
        $fields = array_keys($value);

        $sql = 'insert into `' . $this->table . '` values (';

        $sql .= implode(', ', Util::add2points($fields, true));

        $sql .= ');';

        $stmt = $this->connection->prepare($sql);

        $this->bind($stmt, $value);

        $stmt->execute();

        return (int) $stmt->rowCount();
    }
private function insertOne ( array $ value ) { $ fields = array_keys ( $ value ) ; $ sql = 'insert into `' . $ this -> table . '` values (' ; $ sql .= implode ( ', ' , Util :: add2points ( $ fields , true ) ) ; $ sql .= ');' ; $ stmt = $ this -> connection -> prepare ( $ sql ) ; $ this -> bind ( $ stmt , $ value ) ; $ stmt -> execute ( ) ; return ( int ) $ stmt -> rowCount ( ) ; }
Insert On, insert one row in the table

@see insert
@param array $value

@return int
Insert On insert one row in the table