Skip to content

Commit 091386b

Browse files
committed
fix example
1 parent 4484307 commit 091386b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MyApp/_pages/releases/v8_09.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ The `DateFormat` accepts [SQLite strftime() function](https://www.w3resource.com
470470
time modifiers in its format string whilst the `Char` accepts a character code, e.g:
471471

472472
```csharp
473-
var q = db.From<CompletedJob>();
474-
var createdDate = q.Column<CompletedJob>(c => c.CreatedDate);
475-
var months = db.SqlColumn<string>(q
473+
var q = db.From<MyTable>();
474+
var createdDate = q.Column<MyTable>(c => c.CreatedDate);
475+
var months = db.SqlList<(string month, string log)>(q
476476
.Select(x => new {
477477
Month = q.sql.DateFormat(createdDate, "%Y-%m"),
478478
Log = q.sql.Concat(new[]{ "'Prefix'", q.sql.Char(10), createdDate })

0 commit comments

Comments
 (0)