theSq3Lite 10.0
|
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS … More...
Public Member Functions | |
void | BindBlob (int pos, byte[] blob) |
C#: → C-API Bind a MkBinaryR Value To a Prepared Statement … | |
void | BindDouble (int arg1, double arg2) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindInt (int arg1, int arg2) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindInt64 (int arg1, long arg2) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindNull (int arg1) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindParameterCount () |
C#: → C-API Number Of SQL Parameters … | |
void | BindParameterIndex (string zName) |
C#: → C-API Index Of A Parameter With A Given Name … | |
string | BindParameterName (int arg1) |
C#: → C-API Name Of A Host Parameter … | |
void | BindText (int pos, string text) |
C#: → C-API Bind a MkStringR Value To a Prepared Statement … | |
void | BindValue (int arg1, Sq3ValueC arg2) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindZeroblob (int arg1, int n) |
C#: → C-API Binding Values To Prepared Statements … | |
void | BindZeroblob64 (int arg1, long arg2) |
C#: → C-API Binding Values To Prepared Statements … | |
new Sq3StmtC | Next () |
C#: → C-API get next instance from linked-list of Sq3StmtS type | |
new Sq3StmtC | Prev () |
C#: → C-API get previous instance from linked-list of Sq3StmtS type | |
Sq3ValueC | ColumnValue (int iCol) |
C#: → C-API Result Values From A Query … | |
byte[] | ColumnBlob (int iCol) |
C#: → C-API Result a MkBinaryR Value From A Query. | |
int | ColumnBytes (int iCol) |
C#: → C-API Result Values From A Query … | |
int | ColumnCount () |
C#: → C-API Number Of Columns In A Result Set … | |
double | ColumnDouble (int iCol) |
C#: → C-API Result Values From A Query … | |
int | ColumnInt (int iCol) |
C#: → C-API Result Values From A Query … | |
long | ColumnInt64 (int iCol) |
C#: → C-API Result Values From A Query … | |
string | ColumnName (int N) |
C#: → C-API Column Names In A Result Set … | |
string | ColumnText (int iCol) |
C#: → C-API Result a MkStringR Value From A Query. | |
Sq3TypeE | ColumnType (int iCol) |
C#: → C-API Result Values From A Query … | |
Sq3LiteC | DbHandle () |
C#: → C-API Find The Database Handle Of A Prepared Statement … | |
void | Busy () |
C#: → C-API Determine If A Prepared Statement Has Been Reset … | |
void | DataCount () |
C#: → C-API Number of columns in a result set … | |
void | IsExplain () |
C#: → C-API Query The EXPLAIN Setting For A Prepared Statement … | |
void | Readonly () |
C#: → C-API Determine If An SQL Statement Writes The Database … | |
void | Status (Sq3StmtStatusE op, bool resetFlg) |
C#: → C-API Prepared Statement Status … | |
void | ClearBindings () |
C#: → C-API Reset All Bindings On A Prepared Statement … | |
void | Explain (int eMode) |
C#: → C-API Change The EXPLAIN Setting For A Prepared Statement … | |
void | Reset () |
C#: → C-API Reset A Prepared Statement Object … | |
Sq3ErrorE | Step () |
C#: → C-API Evaluate An SQL Statement … | |
string | ExpandedSql () |
C#: → C-API Retrieving Statement SQL … | |
string | GetPzTail () |
C#: → C-API return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 … | |
string | Sql () |
C#: → C-API Retrieving Statement SQL … | |
Sq3StmtC (Sq3LiteC db, string zSql) | |
CONSTRUCTOR. | |
void | Sq3Finalize () |
C#: → C-API Destroy A Prepared Statement Object … | |
![]() | |
delegate void | MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl) |
void | ErrorCheck (MkErrorE err) |
bool | Check () |
string | ToNameOfClass () |
void | HandleDelete () |
bool | HandleExists () |
Int32 | HandleGet () |
Int32 | HandleGetOfType () |
Int32 | HandleGetOr0 () |
MkObjectC | Next () |
MkObjectC | Prev () |
void | DbgDump (string message="var",[CallerMemberName]string callfunc=null) |
void | DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | DbgLogC ([CallerMemberName]string callfunc=null) |
void | DbgO ([CallerMemberName]string callfunc=null) |
void | DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null) |
void | LogC (string message, int debug=0,[CallerMemberName]string callfunc=null) |
void | LogHEX (string callfunc, byte[] data) |
void | Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
void | LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
MkErrorC | ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null) |
MkErrorC | ToError () |
bool | IsNull () |
string | ToName () |
string | ToNameOfType () |
override string | ToString () |
int | RefGet () |
void | SysKill (int pid, int signal) |
int | SysGetPid () |
void | Dispose () |
void | Delete () |
Static Public Member Functions | |
static Sq3StmtC | Sq3StmtC_ObjNew (IntPtr hdl) |
new static Sq3StmtC | HandleResolve (Int32 netHdl) |
C#: → C-API Handle-Resolve-Slot - return a Sq3StmtC from netHdl or null if invalid… | |
new static Sq3StmtC | Instances () |
C#: → C-API get head-instance from linked-list of Sq3StmtS type … | |
new static Sq3StmtC | GetNull () |
C#: → C-API Null-Slot - return a Sq3StmtC typed NULL instance … | |
static Sq3StmtC | NextStmt (Sq3LiteC pDb, Sq3StmtC pStmt=null) |
C#: → C-API Find the next prepared statement … | |
static Sq3StmtC | PrepareV2 (Sq3LiteC db, string zSql) |
C#: → C-API Compiling An SQL Statement … | |
static Sq3StmtC | PrepareV3 (Sq3LiteC db, string zSql, Sq3PrepareEF prepFlags=Sq3PrepareEF.NO) |
C#: → C-API Compiling An SQL Statement … | |
![]() | |
static MkObjectC | MkObjectC_ObjNew (IntPtr hdl) |
static IntPtr | getOBJ (string cls, MkObjectC obj) |
static IntPtr | getOBJ_null_allow (MkObjectC obj) |
static MkObjectC | HandleResolve (Int32 netHdl) |
static void | HandleDeleteByNetHdl (Int32 netHdl) |
static MkObjectC | Instances () |
static MkObjectC | GetNull () |
static void | DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0) |
static int | SysHashI32 (string key, int length=-1) |
static string | SysHashSTR (string key, int length=-1) |
static void | DeleteCallbackCleanup (string ident) |
static void | DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null) |
static int | getPId () |
static int | getTId () |
static string | getStackTrace (int level=2) |
static string | getCallerProc (int level=2) |
static int | getCallerLine (int level=2) |
static string | getCallerFile (int level=2) |
Static Protected Member Functions | |
static IntPtr | CTOR (Sq3LiteC db, string zSql) |
C#: → C-API Compiling An SQL Statement … | |
![]() | |
static object | atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj) |
static object | atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj) |
static IntPtr | atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env) |
static object | atomSelfNull (ConstructorInfo ctor) |
static void | atomSelfUnlink (IntPtr self, IntPtr env) |
static ConstructorInfo | getCtor (Type type) |
static string | Name (IntPtr mkrt, IntPtr obj) |
Additional Inherited Members | |
![]() | |
MkObjectC (IntPtr obj) | |
MkObjectC () | |
virtual void | Dispose (bool disposing) |
![]() | |
IntPtr | pmkrt |
![]() | |
IntPtr | hdl |
IntPtr | hdl_null_allow |
IntPtr | mkrt |
Sq3StmtC - the class known as sq3stmt or Statement defined by Sq3StmtS …
Struct to represent the data of the Sq3StmtC …
Prepared Statement Object …
An instance of this object represents a single SQL statement that has been compiled into binary form and is ready to be evaluated.
Think of each SQL statement as a separate computer program. The original SQL text is source code. A prepared statement object is the compiled object code. All SQL must be converted into a prepared statement before it can be run.
The life-cycle of a prepared statement object usually goes like this:
Reference code from sqlite3:
Definition at line 451 of file Sq3StmtC_cs.cs.
|
inlinestatic |
Definition at line 38 of file Sq3StmtC_cs.cs.