Add column information to table
void Ns_DbAddColumnInfo( Ns_DbTableInfo *tinfo, Ns_Set *cinfo );
The Ns_DbAddColumnInfo function adds the column information in 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);