-
-
Notifications
You must be signed in to change notification settings - Fork 197
Advanced query index #480
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
base: main
Are you sure you want to change the base?
Advanced query index #480
Conversation
Test failing on npgsql |
Updated ISqlBuilder and SqlBuilder Join methods to include a new onTableIsAlias parameter. Modified InnerJoin, LeftJoin, and RightJoin extension methods to pass this parameter. Adjusted DefaultQuery InnerJoin call to set onTableIsAlias to true for _documentTable. Added a new test ShouldReturnFirstOrDefaultJoinedIndexes in CoreTests and made minor formatting changes.
{ | ||
// Don't prefix if alias is used | ||
if (alias != onTable) | ||
if (alias != onTable && !onTableIsAlias) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing this, I believe we don't need a new field and just to set the alias
argument instead such that it knows that onTable
is an alias.
@MichaelPetrinolis could you please fix the build and react to Seb comment? I think there are several PRs stuck for a while |
Hello @hishamco, I think that you wanted to mention me ;) I will try this week to fix the npgsql test failure. |
Sorry I just messed up with another PR :) |
Can select from the Index and supports All/Any
closes #479