Skip to content

Commit b1071ac

Browse files
authored
Merge pull request #89 from JonathanVelkeneers/patch-1
Update README.md to reflect changes inReferenceAttribute
2 parents 33ba94a + 4099dc2 commit b1071ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ If desired, this can be avoided by making specific join models that do not have
297297

298298
**By default** relations expect to be used as top level filters on a query. If following the models above, this would
299299
mean that a `Movie` with no `Person` relations on it would not return on a query **unless** the `Relation`
300-
has `shouldFilterTopLevel` set to `false`:
300+
has `useInnerJoin` set to `false`:
301301

302302
The following model would return any movie, even if there are no `Person` models associated with it:
303303

@@ -311,7 +311,7 @@ public class Movie : BaseModel
311311
[Column("name")]
312312
public string? Name { get; set; }
313313

314-
[Reference(typeof(Person), shouldFilterTopLevel: false)]
314+
[Reference(typeof(Person), useInnerJoin: false)]
315315
public List<Person> People { get; set; } = new();
316316
}
317317
```

0 commit comments

Comments
 (0)