Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Rows by xx #374

Open
badererliebert opened this issue Aug 5, 2024 · 0 comments
Open

Query Rows by xx #374

badererliebert opened this issue Aug 5, 2024 · 0 comments

Comments

@badererliebert
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant