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.

hisystems was assigned Mar 25, 2012

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