RTSQLIndex


Conforms To:
NSObject
Declared In:
RTSQLIndex.h


Protocol Description

Protcol for an index on a table.


Method Types

- name
- table
- unique
- primaryKey
- sqlCreationString
- columnNames

Instance Methods

columnNames

- (NSArray*)columnNames

Returns an array of the column names included in this index.


name

- (NSString*)name

Returns the name of the index.


primaryKey

- (BOOL)primaryKey

Returns YES if this index is the primary key.


sqlCreationString

- (NSString*)sqlCreationString

Returns the complete SQL statement to create this index.


table

- (id <RTSQLTable>)table

Return the table this index is associated with.


unique

- (BOOL)unique

Returns YES if this index enforces unique values.


Copyright ©2006 by Runtime Labs, Inc.. All Rights Reserved.