[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Create a new index definition
Source position: db.pas line 935
public constructor TIndexDef.Create( |
Owner: TIndexDefs; |
const AName: String; |
const TheFields: String; |
TheOptions: TIndexOptions |
); overload; |
Owner |
|
TIndexDefs Collection to which new instance must be added. |
AName |
|
Name for the new index. Each name may appear only once in the collection. |
TheFields |
|
Fields that make up the index |
TheOptions |
|
Options for the index |
Create initializes a new TIndexDef instance with the AName value as the index name, AField as the fields making up the index, and TheOptions as the options. Owner should be the TIndexDefs instance to which the new TIndexDef can be added.
If an index with name AName already exists in the collection, an exception will be raised.
|
A class to keep a list of index definitions |
|
|
Index options |
|
|
Fields making up the index |
lazarus-ccr.sourceforge.net |