Skip to content

Commit

Permalink
re verify
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 21, 2024
1 parent 0e4358a commit a64b373
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(1) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(1) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(1) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(1) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
},
sql: {
Text:
SELECT [m].[Id], [m].[RightName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[LeftName]
SELECT [m].[Id], [m].[RightName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[LeftName]
FROM [ManyToManyRightEntities] AS [m]
LEFT JOIN (
SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[LeftName]
FROM [ManyToManyMiddleEntities] AS [m2]
INNER JOIN [ManyToManyLeftEntities] AS [m3] ON [m2].[ManyToManyLeftEntityId] = [m3].[Id]
) AS [t] ON [m].[Id] = [t].[ManyToManyRightEntityId]
) AS [s] ON [m].[Id] = [s].[ManyToManyRightEntityId]
WHERE EXISTS (
SELECT 1
FROM [ManyToManyMiddleEntities] AS [m0]
INNER JOIN [ManyToManyLeftEntities] AS [m1] ON [m0].[ManyToManyLeftEntityId] = [m1].[Id]
WHERE [m].[Id] = [m0].[ManyToManyRightEntityId] AND [m1].[LeftName] = N'Left2')
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId],
ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
},
sql: {
Text:
SELECT [m].[Id], [m].[RightName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[LeftName]
SELECT [m].[Id], [m].[RightName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[LeftName]
FROM [ManyToManyRightEntities] AS [m]
LEFT JOIN (
SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[LeftName]
FROM [ManyToManyMiddleEntities] AS [m2]
INNER JOIN [ManyToManyLeftEntities] AS [m3] ON [m2].[ManyToManyLeftEntityId] = [m3].[Id]
) AS [t] ON [m].[Id] = [t].[ManyToManyRightEntityId]
) AS [s] ON [m].[Id] = [s].[ManyToManyRightEntityId]
WHERE EXISTS (
SELECT 1
FROM [ManyToManyMiddleEntities] AS [m0]
INNER JOIN [ManyToManyLeftEntities] AS [m1] ON [m0].[ManyToManyLeftEntityId] = [m1].[Id]
WHERE [m].[Id] = [m0].[ManyToManyRightEntityId] AND ([m1].[LeftName] <> N'Left2' OR [m1].[LeftName] IS NULL))
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId],
ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
},
sql: {
Text:
SELECT [m].[Id], [m].[LeftName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[RightName]
SELECT [m].[Id], [m].[LeftName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[RightName]
FROM [ManyToManyLeftEntities] AS [m]
LEFT JOIN (
SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[RightName]
FROM [ManyToManyMiddleEntities] AS [m2]
INNER JOIN [ManyToManyRightEntities] AS [m3] ON [m2].[ManyToManyRightEntityId] = [m3].[Id]
) AS [t] ON [m].[Id] = [t].[ManyToManyLeftEntityId]
) AS [s] ON [m].[Id] = [s].[ManyToManyLeftEntityId]
WHERE EXISTS (
SELECT 1
FROM [ManyToManyMiddleEntities] AS [m0]
INNER JOIN [ManyToManyRightEntities] AS [m1] ON [m0].[ManyToManyRightEntityId] = [m1].[Id]
WHERE [m].[Id] = [m0].[ManyToManyLeftEntityId] AND [m1].[RightName] = N'Right2')
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId],
ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
},
sql: {
Text:
SELECT [m].[Id], [m].[LeftName], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId], [t].[Id], [t].[RightName]
SELECT [m].[Id], [m].[LeftName], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId], [s].[Id], [s].[RightName]
FROM [ManyToManyLeftEntities] AS [m]
LEFT JOIN (
SELECT [m2].[ManyToManyLeftEntityId], [m2].[ManyToManyRightEntityId], [m3].[Id], [m3].[RightName]
FROM [ManyToManyMiddleEntities] AS [m2]
INNER JOIN [ManyToManyRightEntities] AS [m3] ON [m2].[ManyToManyRightEntityId] = [m3].[Id]
) AS [t] ON [m].[Id] = [t].[ManyToManyLeftEntityId]
) AS [s] ON [m].[Id] = [s].[ManyToManyLeftEntityId]
WHERE EXISTS (
SELECT 1
FROM [ManyToManyMiddleEntities] AS [m0]
INNER JOIN [ManyToManyRightEntities] AS [m1] ON [m0].[ManyToManyRightEntityId] = [m1].[Id]
WHERE [m].[Id] = [m0].[ManyToManyLeftEntityId] AND ([m1].[RightName] <> N'Right2' OR [m1].[RightName] IS NULL))
ORDER BY [m].[Id], [t].[ManyToManyLeftEntityId], [t].[ManyToManyRightEntityId],
ORDER BY [m].[Id], [s].[ManyToManyLeftEntityId], [s].[ManyToManyRightEntityId],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(2) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(2) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
sql: [
{
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(2) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(2) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
},
sql: {
Text:
SELECT [t].[Id], [t].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
SELECT [p0].[Id], [p0].[Property], [c].[Id], [c].[Nullable], [c].[ParentId], [c].[Property]
FROM (
SELECT TOP(2) [p].[Id], [p].[Property]
FROM [ParentEntities] AS [p]
WHERE [p].[Id] = 'Guid_1'
) AS [t]
LEFT JOIN [ChildEntities] AS [c] ON [t].[Id] = [c].[ParentId]
ORDER BY [t].[Id],
) AS [p0]
LEFT JOIN [ChildEntities] AS [c] ON [p0].[Id] = [c].[ParentId]
ORDER BY [p0].[Id],
HasTransaction: false
}
}

0 comments on commit a64b373

Please sign in to comment.