Returns relational database rdb wrapped with additional commands defined in its *commands* table.
The relational database rdb must be mutable. add-command-tables adds a *command* table to rdb; then returns
(wrap-command-interfacerdb).
Adds commands to the
*commands*table as specified in spec-0 ... to the open relational-database rdb. Each spec has the form:((<name> <rdb>) "comment" <expression1> <expression2> ...)or
((<name> <rdb>) <expression1> <expression2> ...)where <name> is the command name, <rdb> is a formal passed the calling relational database, "comment" describes the command, and <expression1>, <expression1>, ... are the body of the procedure.
define-*commands*adds to the*commands*table a command <name>:(lambda (<name> <rdb>) <expression1> <expression2> ...)
Returns an open enhanced relational database associated with filename. The database will be opened with base-table type base-table-type) if supplied. If base-table-type is not supplied,
open-command-databasewill attempt to deduce the correct base-table-type. If the database can not be opened or if it lacks the*commands*table,#fis returned. — Function: open-command-database! filename
— Function: open-command-database! filename base-table-type
Returns mutable open enhanced relational database ... — Function: open-command-database database
Returns database if it is an immutable relational database; #f otherwise. — Function: open-command-database! database
Returns database if it is a mutable relational database; #f otherwise.