Skip to content

Commit 35be8ba

Browse files
committed
update readme
1 parent 59c0661 commit 35be8ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ There are a limited number of types allowed currently:
562562
* strings with `sqlite.Text`.
563563
* blobs with `sqlite.Blob`.
564564

565-
It's probably possible to support arbitrary types if they can be marshaled to a sqlite type. This is something to investigate.
565+
It is probably possible to support arbitrary types if they can be marshaled to an SQLite type. This is something to investigate.
566566

567567
**NOTE**: this is done at compile time and is quite CPU intensive, therefore it's possible you'll have to play with [@setEvalBranchQuota](https://ziglang.org/documentation/master/#setEvalBranchQuota) to make it compile.
568568

@@ -616,7 +616,7 @@ Each input arguments in the function call in the statement is passed on to the r
616616

617617
## Aggregate functions
618618

619-
You can define a aggregate function using `db.createAggregateFunction`:
619+
You can define an aggregate function using `db.createAggregateFunction`:
620620
```zig
621621
const MyContext = struct {
622622
sum: u32,
@@ -647,5 +647,5 @@ const result = try db.one(usize, "SELECT mySum(nb) FROM foobar", .{}, .{});
647647
Each input arguments in the function call in the statement is passed on to the registered `step` function.
648648
The `finalize` function is called once at the end.
649649

650-
The context (2nd argument of `createAggregateFunction`) can be whatever you want; both `step` and `finalize` function must
650+
The context (2nd argument of `createAggregateFunction`) can be whatever you want; both the `step` and `finalize` functions must
651651
have their first argument of the same type as the context.

0 commit comments

Comments
 (0)