Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d6ae9f2

Browse files
committed
make examples smaller to avoid scrolling
1 parent 2475608 commit d6ae9f2

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
@@ -93,8 +93,8 @@ From v4.0.16 you can now use typed sql expressions in Custom SQL API's
9393

9494
```csharp
9595
List<Person> results = db.SqlList<Person>(db.From<Person>().Select("*").Where(q => q.Age < 50));
96-
List<string> results = db.SqlColumn<string>(db.From<Person>().Select(x => x.LastName).Where(q => q.Age < 50));
97-
HashSet<int> results = db.ColumnDistinct<int>(db.From<Person>().Select(x => x.Age).Where(q => q.Age < 50));
96+
List<string> results = db.SqlColumn<string>(db.From<Person>().Select(x => x.LastName);
97+
HashSet<int> results = db.ColumnDistinct<int>(db.From<Person>().Select(x => x.Age);
9898
int result = db.SqlScalar<int>(db.From<Person>().Select(Sql.Count("*")).Where(q => q.Age < 50));
9999
```
100100

0 commit comments

Comments
 (0)