Skip to content

Add Query helper methods #3

@patricklatimer

Description

@patricklatimer

OData (what the dataverse api uses) has lots of query options, like filters, order_by, top, ....

We could either list those out in a file like this:

equal: Callable[[str, str], str] = lambda column, value: f"{column} eq {value}"
not_equal: Callable[[str, str], str] = lambda column, value: f"{column} ne {value}"
greater_than: Callable[[str, str], str] = lambda column, value: f"{column} gt {value}"

Or maybe we could use the python-odata library to help us construct our queries (plus we get autogenerated table schema python code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions