mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-02-15 03:03:12 +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 (?, ?, ?);
|
) VALUES (?, ?, ?);
|
||||||
"""
|
"""
|
||||||
|
|
||||||
template checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) =
|
proc checkColMetadata(s: RawStmtPtr, i: int, expectedName: string) =
|
||||||
let
|
let
|
||||||
colName = sqlite3_column_origin_name(s, i.cint)
|
colName = sqlite3_column_origin_name(s, i.cint)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user