Skip to content

support for OR'ing conditions in where. #49

@rmallah

Description

@rmallah

Hi was trying to seek help in irc chat before posting here.

I am using HAL support in WebAPI::DBIC and i have a simple requirement of
getting data using 'OR' clause in 2 separate columns , eg

"SELECT some fields from TABLE where somecol = 1 OR othercol=1 "

how would the query params be passed for this requirement.

had it been AND i would use say,
?me.somecol=1&me.othercol=1&fields=some_fields

regds
mallah.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions