diff options
author | Bung <crc32@qq.com> | 2020-05-26 13:44:47 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 07:44:47 +0200 |
commit | 2a4a43b05fa3fa6ad3f85543ccfbd9ea450c9be0 (patch) | |
tree | 77d638a33367b6e053a85efb98e979e471d19616 /lib/std/compilesettings.nim | |
parent | 55758920f446ebf1eecab980460bf6e664b8dba7 (diff) | |
download | Nim-2a4a43b05fa3fa6ad3f85543ccfbd9ea450c9be0.tar.gz |
add bindParams to db_sqlite (#14408)
* add bindParams to db_sqlite * no need typeinfo * remove extro spaces * reduce bindParams to two branches,raise DbError * Update lib/impure/db_sqlite.nim * change bindParams to macro,accept varargs[untyped] as params * change bind blob val to openArray[byte] * remove unused err type * explicitly using i32 param * using import std/private/since * SQLITE_OK to right hand * bindParam val int using bindParam overload * copy data by default * change exec to template * remove SqlPrepared procs unused varargs * fix setupquery for prepared,reset first for exec prepared,add bindNull for literal nil Co-authored-by: alaviss <leorize+oss@disroot.org>
Diffstat (limited to 'lib/std/compilesettings.nim')
0 files changed, 0 insertions, 0 deletions