TIndexDefs
A class to keep a list of index definitions.
Declaration
Source position: db.pas line 1277
Description
TIndexDefs is used to keep a collection of index (sort order) definitions. It can be used by classes that provide in-memory or on-disk indexes to provide a list of available indexes.
Methods
| Member |
Visibility |
Description |
| Add |
public |
Add a new index definition with given name and options. |
| AddIndexDef |
public |
Add a new, empty, index definition. |
| Create |
public |
Create a new TIndexDefs instance. |
| Find |
public |
Find an index by name. |
| FindIndexForFields |
public |
Find index definition based on field names. |
| GetIndexForFields |
public |
Get index definition based on field names. |
| Update |
public |
Called whenever one of the items changes. |
See all Methods