How to do CROSS APPLY in SqlKata #613
Unanswered
ahmad-moussawi
asked this question in
Q&A
Replies: 1 comment
-
Just use the Join method and pass "CROSS APPLY" or whatever method you like in the last parameter var another = new Query("Race")
.WhereColumns("Race.PlayerId", "=", "Player.id")
.Select("Race.Score")
.OrderByDesc("Race.Date")
.Limit(1);
var query = new Query("Player").Join(another.As("LastRace"), j => j, "CROSS APPLY"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions