Update QuestDb demo

This commit is contained in:
sunkaixuan 2023-02-22 01:42:23 +08:00
parent b31d284698
commit 7db3ab379d

View File

@ -117,11 +117,11 @@ namespace OrmTest
.Select((o, i, c) => new ViewOrder { Name=o.Name, CustomName=c.Name }).ToList();
var oneClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
JoinType.Left, o.Id == i.OrderId,
JoinType.Left, o.CustomId == c.Id
))
.Select((o, i, c) => c).ToList();
// var oneClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
// JoinType.Left, o.Id == i.OrderId,
// JoinType.Left, o.CustomId == c.Id
// ))
//.Select((o, i, c) => c).ToList();
var twoClass = db.Queryable<Order, OrderItem, Custom>((o, i, c) => new JoinQueryInfos(
JoinType.Left, o.Id == i.OrderId,