duro::type - create and destroy user-defined types
duro::type 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.
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: type.html,v 1.5 2009/01/10 22:29:30 rhartmann Exp $