-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
good first issueThis issue should be relatively straightforward to fix.This issue should be relatively straightforward to fix.help wantedThis issue involves technologies where we are not experts. Expert help would be appreciated.This issue involves technologies where we are not experts. Expert help would be appreciated.
Milestone
Description
var query = db.Blogs.FirstOrDefault(b => b.Posts.Any(p => p.Name == "test"));Translate to
SELECT TOP(1) [b].[Id]
FROM [Blogs] AS [b]
WHERE EXISTS (
SELECT 1
FROM [Post] AS [p]
WHERE ([p].[Name] = N'test') AND ([b].[Id] = [p].[BlogId]))But
var query = db.Blogs.FirstOrDefault(b => b.Posts.Exists(p => p.Name == "test"));client evals. 🤦♂️
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueThis issue should be relatively straightforward to fix.This issue should be relatively straightforward to fix.help wantedThis issue involves technologies where we are not experts. Expert help would be appreciated.This issue involves technologies where we are not experts. Expert help would be appreciated.