instantRows doco added "the" to improve readability

This commit is contained in:
JamesP
2015-09-06 22:40:15 +10:00
parent 5ae33434f8
commit 9aa9920602

View File

@@ -149,7 +149,7 @@ iterator instantRows*(db: DbConn, query: SqlQuery,
args: varargs[string, `$`]): InstantRow
{.tags: [FReadDb].} =
## 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)
while step(stmt) == SQLITE_ROW:
yield stmt