|
libUnihan 0.5.3
|
Data structure that holds the result of SQL functions and command. More...
#include <sqlite_functions.h>
Data Fields | |
| StringList * | fieldList |
| StringList that holds returned fields. | |
| StringList * | resultList |
| StringList that holds returned results. | |
| int | colCount |
| Column count. Value 0 usually implied that no matched results. | |
| int | execResult |
| sqlite3_exec result code. Initial value is -1, which means the result is not ready. | |
| char * | errMsg |
| Eroor messages from sqlite3_exec(). | |
Note that returned results are represented in one-dimension. For example, if the returned results are:
| Name | Weight |
|---|---|
| Mary | 50 |
| John | 70 |
| Sumo | 120 |
result[0] stores "Mary", result[1] stores "50", result[2] stores "John", result[3] stores "70", result[4] stores "Sumo", result[5] stores "120".
Where result[X] is a short expression of stringList_index(resultList,x).
1.7.4