mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-02 13:43:11 +00:00
convert checkColMetadata from a template to a proc
This commit is contained in:
parent
89051a38ea
commit
a62fffcb3f
@ -97,7 +97,7 @@ const
|
||||
) VALUES (?, ?, ?);
|
||||
"""
|
||||
|
||||
template checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) =
|
||||
proc checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) =
|
||||
let
|
||||
colName = sqlite3_column_origin_name(s, i.cint)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user