You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: