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

Disable table joins for ObjectExistsByDistinctValue #28

Closed
hisystems opened this Issue Mar 5, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@hisystems
Owner

hisystems commented Mar 5, 2012

Currently, when the Database.ObjectExists function is called and there are table joins because:

  • the distinct field must exist on the primary database table and therefore a distinct field on a joined table is not possible.
  • in most circumstances it will unnecessarily burden the database server with a table join when the key field is typically located in the main table - not in a joined table.

@ghost ghost assigned hisystems Mar 5, 2012

@hisystems hisystems closed this in 576ce0f Mar 10, 2012

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