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

Do not utilize table joins when counting objects #39

Closed
hisystems opened this issue Mar 25, 2012 · 0 comments
Closed

Do not utilize table joins when counting objects #39

hisystems opened this issue Mar 25, 2012 · 0 comments
Assignees

Comments

@hisystems
Copy link
Owner

Currently, the Database.ObjectsCount function will join tables if a table join is defined. However, determining the number of objects in a collection does not require table joins as joins are only used to improve performance when loading objects. Furthermore, unnecessarily joining tables will adversely affect performance.

@ghost ghost assigned hisystems Mar 25, 2012
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