src/DatabaseActiveRecord/ActiveRecordModel.php
protected function updateWhere($where, $value)
    {
        $this->checkDb();
        $properties = $this->getProperties();
        $columns = array_keys($properties);
        $values  = array_values($properties);
        $values1 = is_array($value)
            ? $value
            : [$value];
        $values = array_merge($values, $values1);

        $this->db->connect()
                 ->update($this->tableName, $columns)
                 ->where($where)
                 ->execute($values);
    }
protected function updateWhere($where, $value)
    {
        $this->checkDb();
        $properties = $this->getProperties();
        $columns = array_keys($properties);
        $values  = array_values($properties);
        $values1 = is_array($value)
            ? $value
            : [$value];
        $values = array_merge($values, $values1);

        $this->db->connect()
                 ->update($this->tableName, $columns)
                 ->where($where)
                 ->execute($values);
    }
Update row using a custom where-statement.

The criteria `$where` of can be set up like this:
`id = ?`
`id1 = ? AND id2 = ?`
`id IN (?, ?)`

The `$value` can be a single value or an array of values.

@param string $where to use in where statement.
@param mixed  $value to use in where statement.

@return void