cursor/changeAdultName.c
static RDM_RETCODE changeAdultName (RDM_CURSOR adult, char *newName)
{
char name[32];
adult, COL_ADULT_ADULT_NAME, name, sizeof (name), NULL);
if (rc == sOKAY)
{
printf ("Change name from %s to %s\n", name, newName);
adult, COL_ADULT_ADULT_NAME, newName, strlen (newName) + 1);
}
return rc;
}
struct RDM_CURSOR_S * RDM_CURSOR
Definition: rdmtypes.h:347
@ sOKAY
Definition: rdmretcodetypes.h:100
RDM_RETCODE rdm_cursorUpdateColumn(RDM_CURSOR cursor, RDM_COLUMN_ID columnId, const void *columnValue, size_t bytesIn)
Update a single column in a row.
enum RDM_RETCODE_E RDM_RETCODE
RaimaDB status and error return codes.
RDM_RETCODE rdm_cursorReadColumn(RDM_CURSOR cursor, RDM_COLUMN_ID columnId, void *columnValue, size_t bytesIn, size_t *bytesOut)
Read a single column from a table row.