Set all of the fields for a table definition.
- Parameters:
-
| tdef | Table configuration. |
| fields | Field configuration(s). |
| nfields | Number of fields. |
- Returns:
-
On failure, one of the following error codes is set:
- See also:
- get_db_error, clear_db_error, Error Handling