ORM::where_id_is PHP Method

where_id_is() public method

If primary key is compound, only the columns that belong to they key will be used for the query
public where_id_is ( $id )
    public function where_id_is($id)
    {
        return is_array($this->_get_id_column_name()) ? $this->where($this->_get_compound_id_column_values($id), null) : $this->where($this->_get_id_column_name(), $id);
    }
ORM