[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Find index definition based on field names
Source position: db.pas line 1038
public function TIndexDefs.FindIndexForFields( |
const Fields: string |
):TIndexDef; |
Fields |
|
Fieldlist to look for |
TIndexDef instance with fieldlist matching Fields
FindIndexForFields searches in the list of indexes for an index whose TIndexDef.Fields property matches the list of fields in Fields. If it finds an index definition, then it returns the found instance.
If no matching definition is found, an exception is raised. This is different from other Find functionality, where Find usually returns Nil if nothing is found.
|
Index definition |
|
|
Find an index by name |
|
|
Get index definition based on field names |