2.40. index
Creates an index for the specified table.
2.40.1. Summary
Parameters: table
Positional parameters in same order.
- extension (default "idx")
- Index file extension
- basefile
- Database filename. Exports the table to this filename if old or missing before indexing. See also the export tag for additional relevent attributes such as delimiter type, etc.
- export_only
- Just do the export if necessary (not the index).
- spec
- The index specification
- fn or fields or col or columns
- field(s) to index
- show_status
- Return '1' to the page if successful
The attribute hash reference is passed to the subroutine after the parameters as the last argument. This may mean that there are parameters not shown here.
Must pass named parameter interpolate=1 to cause interpolation.
Invalidates cache: YES
Called Routine:
ASP-like Perl call:
$Tag->index( { table => VALUE, } ) OR $Tag->index($table, $ATTRHASH);
Attribute aliases
base ==> table database ==> table
2.40.2. Description
Creates an index for the specified table.