|
cwist
Modern C web framework with libttak runtime
|
One cell of a column-typed result set. More...
#include <orm.h>
Public Attributes | |
| cwist_orm_value_type_t | type |
| int64_t | i64 |
| double | real |
| char * | text |
| unsigned char * | blob |
| size_t | blob_len |
One cell of a column-typed result set.
Exactly one payload field is meaningful per cwist_orm_value_type_t: i64 for CWIST_ORM_TYPE_INTEGER (exact above 2^53), real for CWIST_ORM_TYPE_REAL, text for CWIST_ORM_TYPE_TEXT (never NULL), and (blob, blob_len) for CWIST_ORM_TYPE_BLOB (blob is NULL when the BLOB is empty). Owned by the result set; released by cwist_orm_result_free().
CWIST_ORM_TYPE_BLOB (NULL when empty)
Definition at line 302 of file orm.h.
Referenced by cwist_orm_result_free().
| char* cwist_orm_value::text |
| cwist_orm_value_type_t cwist_orm_value::type |