Skip to content

Comments

v2.0.3 Fixes#523

Merged
jaredhendrickson13 merged 9 commits intomasterfrom
next_patch
Jul 26, 2024
Merged

v2.0.3 Fixes#523
jaredhendrickson13 merged 9 commits intomasterfrom
next_patch

Conversation

@jaredhendrickson13
Copy link
Member

…oaded in Model::read_all()

This fixes an issue where Model::read_all() would load all Model objects each time it loaded a single Model object. This should greatly improve performance for reading large numbers of objects and queries.
This ensures queries are only performed if the client provided query parameters. Queries are more resource intensive since we have to load all objects to perform the query, even if pagination is used. If only pagination is needed and no query parameters were given, we now delegate the job to read_all(), which allows only the paginated objects to be loaded.
plural deletes are a feature being added in v2.1.0, but commits were ported for patches that contained references to the feature. This commit removes those references for now.
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

Successfully merging this pull request may close these issues.

PHP variable redeclaration error when accessing Status>Monitoring graphs after installing pfsense-api v2

1 participant