mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-23 12:17:08 +01:00
Minor additions to the SQLite statement time to make certain functions more transparent to the user and also converted most of the code to use curly braces even for single statements.
This commit is contained in:
1 parent
6f417d60bb
commit
e3315430ea
3 files changed
+329
-99
No files matched your search
@@ -276,8 +276,10 @@ void RegisterAPI(HSQUIRRELVM vm)
|
||||
.Func(_SC("NBindN"), &Statement::NameBindN)
|
||||
.Func(_SC("IBind"), &Statement::IndexBind)
|
||||
.Func(_SC("NBind"), &Statement::NameBind)
|
||||
.Func(_SC("Bind"), &Statement::Bind)
|
||||
.Func(_SC("FetchI"), &Statement::FetchColumnIndex)
|
||||
.Func(_SC("FetchN"), &Statement::FetchColumnName)
|
||||
.Func(_SC("Fetch"), &Statement::FetchColumn)
|
||||
.Overload< Array (Statement::*)(void) const >(_SC("FetchA"), &Statement::FetchArray)
|
||||
.Overload< Array (Statement::*)(Int32) const >(_SC("FetchA"), &Statement::FetchArray)
|
||||
.Overload< Array (Statement::*)(Int32, Int32) const >(_SC("FetchA"), &Statement::FetchArray)
|
||||
@@ -293,6 +295,7 @@ void RegisterAPI(HSQUIRRELVM vm)
|
||||
.Func(_SC("ColumnBytes"), &Statement::GetColumnBytes)
|
||||
.Func(_SC("GetI"), &Statement::GetColumnByIndex)
|
||||
.Func(_SC("GetN"), &Statement::GetColumnByName)
|
||||
.Func(_SC("Get"), &Statement::GetColumn)
|
||||
);
|
||||
|
||||
sqlns.Bind(_SC("Column"), Class< Column >(vm, _SC("SqSQLiteColumn"))
|
||||
|
||||
Reference in new issue
Block a user