Expand typed join syntax with no lock, outer and custom join types
This commit is contained in:
@@ -99,7 +99,7 @@ namespace DynamORM.Tests.Select
|
||||
public void TestTypedJoin()
|
||||
{
|
||||
var cmd = Database.FromTyped<TypedFluentUser>("u")
|
||||
.Join<TypedFluentUser>(j => j.As("x").On((l, r) => l.Id == r.Id))
|
||||
.Join<TypedFluentUser>(j => j.Inner().As("x").On((l, r) => l.Id == r.Id))
|
||||
.Select(u => u.Id);
|
||||
|
||||
Assert.AreEqual("SELECT u.\"id_user\" FROM \"sample_users\" AS u INNER JOIN \"sample_users\" AS x ON (u.\"id_user\" = x.\"id_user\")",
|
||||
|
||||
Reference in New Issue
Block a user