Reference/es_mbb_void_v
Syntax
int es_mbb_void_v( struct es_mbb *fb, const char *fieldname, void *pvar );
Arguments
struct es_mbb *fb |
Field-binding collection. |
const char *fieldname |
Database field name. |
void *pvar |
Reference to program variable buffer |
Return Codes
ES_ERROR_NONE |
Success. No errors. |
ES_ERROR_UNKNOWNFIELD |
Unknown database field in this class. |
Description
Bind by value the contents of the buffer referenced by pvar with the database field fieldname . The field-binding fb must have been previously constructed via es_mbb_new(). The buffer is assumed to be large enough to hold the contents of the database field (e.g. at least 8 to 64 bits in size for integer field types).
Binding by value means that the contents of the buffer reference by pvar is copied to the database during an insert/update operation and fieldname 's value is copied to the buffer during a fetch operation.
[Back To Reference]
[Back To Reference/es_mbb]
|