Module api

Module api 

Source
Expand description

API generic interface to be used by different DBMS canisters.

Functionsยง

acl_add_principal
Adds the given principal to the ACL of the canister.
acl_allowed_principals
Lists all principals in the ACL of the canister.
acl_remove_principal
Removes the given principal from the ACL of the canister.
begin_transaction
Begins a new transaction and returns its ID.
commit
Commits the transaction with the given ID.
delete
Executes a delete query against the database schema, optionally within a transaction.
insert
Executes an insert query against the database schema, optionally within a transaction.
inspect
Handles an inspect call to the canister.
rollback
Rolls back the transaction with the given ID.
select
Executes a select query against the database schema, optionally within a transaction.
update
Executes an update query against the database schema, optionally within a transaction.