DuroDBMS API  1.7
Built-in system and connection operators

OPERATOR connect(envname string) UPDATES {};

Connects to the database environment envname. If connecting fails, try to connect with the Berkeley DB DB_RECOVER flag.

OPERATOR connect(envname string, recover boolean) UPDATES {};

Connects to the database environment envname. If recover is true, connect with the Berkeley DB DB_RECOVER flag.

OPERATOR disconnect() UPDATES {};

Closes the database connection and sets current_db to the empty string.

OPERATOR create_db(dbname string) UPDATES {};

Creates a database named dbname.

OPERATOR retryable() RETURNS boolean;

Returns true if a failed operation can be restarted.