duro::type - create and destroy user-defined types
duro::type option typename arg ?arg ...?
This subcommand defines the user-defined type typename under the control of the transaction specified by txId. The type constraint is specified by the optional argument constraint. The initialization expression is specified by the argument initexp.
possreps is a list of possible representations. Each possible representation is itself a list of two elements.
The first element is the name of the possible representation.
The second element is a list of components. Each component is represented by a list consisting of two elements. The first element is the component name, and the second element is the component type. Types are specified as in duro::table create.
This subcommand implements the type typename under the control of the transaction specified by txId. The type must have been defined first, e.g. by using duro::type define.
The optional argument arep is a type which will serve as the actual representation for the type.
This subcommand deletes the type typename under the control of the transaction specified by txId.
$Id$