instantRows doco added "the" to improve readability
This commit is contained in:
parent
5ae33434f8
commit
9aa9920602
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ iterator instantRows*(db: DbConn, query: SqlQuery,
|
||||||
args: varargs[string, `$`]): InstantRow
|
args: varargs[string, `$`]): InstantRow
|
||||||
{.tags: [FReadDb].} =
|
{.tags: [FReadDb].} =
|
||||||
## same as fastRows but returns a handle that can be used to get column text
|
## same as fastRows but returns a handle that can be used to get column text
|
||||||
## on demand using []. Returned handle is valid only within interator body.
|
## on demand using []. Returned handle is valid only within the interator body.
|
||||||
var stmt = setupQuery(db, query, args)
|
var stmt = setupQuery(db, query, args)
|
||||||
while step(stmt) == SQLITE_ROW:
|
while step(stmt) == SQLITE_ROW:
|
||||||
yield stmt
|
yield stmt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue