mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-19 16:47:14 +02: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:
@ -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