Skip to content

Query Rows by xx #374

Open
Open
@badererliebert

Description

@badererliebert

At the moment, there is no 'query rows by field -> value' method in the PHP classes, equivalent to the CURL method I screenshotted in the docs and attached. You can get a row by ID, but since row ID's are created dynamically there's no way of knowing the pk ID value of a row you want to query, and no way of filtering a query by arbitrary column value like this

https://api.hubapi.com/cms/v3/hubdb/tables/gen_test/rows?post_id__eq=10

I'm going to use a workaround where I just use a CURL GET request according to these docs to make the queries I need, but I'd like to suggest this as an enhancement - the ability to query data by column value seems rather integral to basic CRUD functionality to me, as I can't update a row without finding it first and I can't find it without query capability. Unless I'm missing something?

Thanks
Brian

Screenshot 2024-08-05 164557

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