|
DuroDBMS API
0.18
|
Functions | |
| int | RDB_create_constraint (const char *name, RDB_expression *exp, RDB_exec_context *ecp, RDB_transaction *txp) |
| int | RDB_drop_constraint (const char *name, RDB_exec_context *ecp, RDB_transaction *txp) |
| int RDB_create_constraint | ( | const char * | name, |
| RDB_expression * | exp, | ||
| RDB_exec_context * | ecp, | ||
| RDB_transaction * | txp | ||
| ) |
RDB_create_constraint creates a constraint with the name name on the database the transaction specified by txp interacts with.
The call may also fail for a system error, in which case the transaction may be implicitly rolled back.
| int RDB_drop_constraint | ( | const char * | name, |
| RDB_exec_context * | ecp, | ||
| RDB_transaction * | txp | ||
| ) |
RDB_drop_constraint deletes the constraint with the name name.
The call may also fail for a system error, in which case the transaction may be implicitly rolled back.
1.7.6.1