DuroDBMS API  1.2
Built-in system and connection operators

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 {};

Create a database named dbname.