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

Comments

Projects
None yet
1 participant
@hisystems
Owner

hisystems commented Mar 25, 2012

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

@hisystems hisystems closed this in 8cc2ffe Mar 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment