[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find an index by name
Source position: db.pas line 1074
public function TIndexDefs.Find( |
const IndexName: string |
):TIndexDef; |
IndexName |
|
Index name to search for. |
TIndexDef instance with name IndexName or Nil
Find overloads the TDefCollection.Find method to search and return a TIndexDef instance based on the name. The search is case-insensitive and raises an exception if no matching index definition was found. Note: TIndexDefs.IndexOf can be used instead if an exception is not desired.
|
Index definition |
|
|
Find an item by name |
|
|
Find index definition based on field names |