Sq3ValueC - get type-information … More...
Functions | |
static enum Sq3TextE | Sq3ValueBytes (SQ3_VALN sq3val) |
Obtaining SQL Values … | |
static enum Sq3TextE | Sq3ValueEncoding (SQ3_VALN sq3val) |
Report the internal text encoding state of an sqlite3_value object … | |
static MK_BOOL | Sq3ValueFromBind (SQ3_VALN sq3val) |
Obtaining SQL Values … | |
static MK_BOOL | Sq3ValueNoChange (SQ3_VALN sq3val) |
Obtaining SQL Values … | |
static enum Sq3TypeE | Sq3ValueNumericType (SQ3_VALN sq3val) |
Obtaining SQL Values … | |
static MK_I32 | Sq3ValueSubType (SQ3_VALN sq3val) |
Finding The Subtype Of SQL Values … | |
static enum Sq3TypeE | Sq3ValueType (SQ3_VALN sq3val) |
Obtaining SQL Values … | |
void | Sq3ValueLog_RT (MK_RT mkrt, SQ3_VALN const val, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
log the val … | |
Sq3ValueC - Sq3ValueC_Info_C_API - function | |
enum Sq3TextE | Sq3ValueBytesP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueBytes … | |
enum Sq3TextE | Sq3ValueEncodingP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueEncoding … | |
MK_BOOL | Sq3ValueFromBindP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueFromBind … | |
MK_BOOL | Sq3ValueNoChangeP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueNoChange … | |
enum Sq3TypeE | Sq3ValueNumericTypeP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueNumericType … | |
MK_I32 | Sq3ValueSubTypeP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueSubType … | |
enum Sq3TypeE | Sq3ValueTypeP (SQ3_VALN sq3val) |
Non-inline replacement for Sq3ValueType … | |
Sq3ValueC - Sq3ValueC_Info_C_API - overload | |
#define | Sq3ValueLog_NULL(...) |
#define | Sq3ValueLog(...) |
#define | Sq3ValueLog_4(val, fmtobj, debug, callfunc) |
#define | Sq3ValueLog_3(val, fmtobj, debug) |
#define | Sq3ValueLog_2(val, fmtobj) |
#define | Sq3ValueLog_1(val) |
Sq3ValueC - get type-information …
#define Sq3ValueLog | ( | ... | ) |
Definition at line 711 of file sqlite3_overload_sq3.h.
#define Sq3ValueLog_1 | ( | val | ) |
Definition at line 715 of file sqlite3_overload_sq3.h.
#define Sq3ValueLog_2 | ( | val, | |
fmtobj ) |
Definition at line 714 of file sqlite3_overload_sq3.h.
#define Sq3ValueLog_3 | ( | val, | |
fmtobj, | |||
debug ) |
Definition at line 713 of file sqlite3_overload_sq3.h.
#define Sq3ValueLog_4 | ( | val, | |
fmtobj, | |||
debug, | |||
callfunc ) |
Definition at line 712 of file sqlite3_overload_sq3.h.
#define Sq3ValueLog_NULL | ( | ... | ) |
Definition at line 710 of file sqlite3_overload_sq3.h.
Obtaining SQL Values …
Definition at line 37 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueBytes …
Report the internal text encoding state of an sqlite3_value object …
The Sq3ValueEncoding(X) interface returns one of SQ3_TEXT_UTF8, SQ3_TEXT_UTF16BE, or SQ3_TEXT_UTF16LE according to the current text encoding of the value X, assuming that X has type TEXT. If Sq3ValueType(X) returns something other than SQ3_TYPE_TEXT, then the return value from Sq3ValueEncoding(X) is meaningless. Calls to Sq3ValueText (X), sqlite3_value_text16 (X), sqlite3_value_text16be (X), sqlite3_value_text16le (X), Sq3ValueBytes (X), or sqlite3_value_bytes16 (X) might change the encoding of the value X and thus change the return from subsequent calls to Sq3ValueEncoding(X).
This routine is intended for used by applications that test and validate the SQLite implementation. This routine is inquiring about the opaque internal state of an Sq3ValueC object. Ordinary applications should not need to know what the internal state of an Sq3ValueC object is and hence should not need to use this interface.
Reference code from sqlite3:
Definition at line 43 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueEncoding …
Obtaining SQL Values …
Definition at line 49 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueFromBind …
void Sq3ValueLog_RT | ( | MK_RT | mkrt, |
SQ3_VALN const | val, | ||
MK_OBJN | fmtobj, | ||
MK_DBG const | debug, | ||
MK_STRN const | callfunc, | ||
MK_I32 const | lvl ) |
log the val …
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | val | Programming-Language-Micro-Kernel (PLMK) instance from sqlite3_value |
[in] | fmtobj | managed object used to format the log-message (default=nil → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
Obtaining SQL Values …
Definition at line 55 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueNoChange …
Obtaining SQL Values …
Definition at line 61 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueNumericType …
Finding The Subtype Of SQL Values …
The Sq3ValueSubType(V) function returns the subtype for an application-defined SQL function argument V. The subtype information can be used to pass a limited amount of context from one SQL function to another. Use the sqlite3_result_subtype () routine to set the subtype for the return value of an SQL function.
Every application-defined SQL function that invoke this interface should include the SQ3_FUNCTION_SUBTYPE property in the text encoding argument when the function is registered. If the SQ3_FUNCTION_SUBTYPE property is omitted, then Sq3ValueSubType() might return zero instead of the upstream subtype in some corner cases.
Reference code from sqlite3:
Definition at line 67 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueSubType …
Obtaining SQL Values …
Definition at line 73 of file Sq3ValueC_sq3.h.
Non-inline replacement for Sq3ValueType …