Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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
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