Set a field in a table definition.
- Parameters:
-
| tdef | Table configuration. |
| nfield | Number of field. |
| field | Field configuration. |
- Returns:
-
On failure, one of the following error codes is set:
- DB_EINVAL Table configuration is null.
- DB_ERANGE Caused by: field number < 0, field number >= table fields size.
- See also:
- get_db_error, clear_db_error, Error Handling