Returns the handle of a database writer object for the specified table.
mco_fh_writer_h mco_fh_writer_create(/*IN*/ mco_fh_db_h db,
/*IN*/ const char *table_name)
db
table_name
This function returns the handle of a database writer for the table specified in argument
table_name.
mco_fh_writer_h
NULL
...
std::vector<TableInfo>::iterator it;
for (it = tables.begin(); it != tables.end(); ++it)
{
it->writer = mco_fh_writer_create(db, it->name.c_str());
it->record = mco_fh_record_create(it->writer);
}
...