Name

duro::index - create and delete indexes

Synopsis

duro::index subcmd indexname arg ?arg ...?

Description

duro::index create indexname tablename attrs txId

This subcommand creates the index indexname on the table tablename under the control of the transaction specified by txId.

The attrs argument specifies the index attributes. attrs is a list containing pairs of elements. The first element of each pair is an attribute name. The second element must be "asc", "desc", or "-". If one of the pairs has "asc" or "desc" as second element, an ordered (B-tree) index is created.

duro::index drop indexname txId

This subcommand deletes the index indexname under the control of the transaction specified by txId.

$Id$