|
|
void Ns_DbAddColumnInfo(
Ns_DbTableInfo *tinfo,
Ns_Set *cinfo
);
cinfo to the table referenced by tinfo. This function should only be called by database driver developers. Ns_DbTableInfo *tinfo;
Ns_Set *cinfo;
tinfo = Ns_DbNewTableInfo("aTable");
cinfo = Ns_SetCreate(NULL);
Ns_SetPut(cinfo, "type", "char");
Ns_DbAddColumn(tinfo, cinfo);