4

Way to access query field data via API

Currently, to recreate the results of a query field via the API, you have to construct a complex query from scratch. Would be great to be able to pull query field results without having to rebuild them from scratch. (Note that this will be tricky with the current architecture since query fields are populated in the client-side browser on page load, so don't actually live in the database.)

1 comment

  • 0
    Avatar
    Edward Spencer

    My suggestion would be to take a look at the query field architecture and re-design it to work how an event handler works. Based on the settings of the query field Shotgun should know what kinds of changes (based on their event logs) are likely to affect the field, and if affected the query field data could be updated. This would also make loading time for the query field faster as it wouldn't have to be recalculated each time.

Please sign in to leave a comment.