This structure represents a value in the database. More...
#include <db_val.h>

Several datatypes are recognized and converted by the database API. These datatypes are automaticaly recognized, converted from internal database representation and stored in the variable of corresponding type.
Module that want to use this values needs to copy them to another memory location, because after the call to free_result there are not more available.
If the structure holds a pointer to a string value that needs to be freed because the module allocated new memory for it then the free flag must be set to a non-zero value. A free flag of zero means that the string data must be freed internally by the database driver.
Definition at line 77 of file db_val.h.
| union { ... } db_val_t::val |
1.7.1