RTSQLForeignKeyConstraint


Conforms To:
RTSQLConstraint
Declared In:
RTSQLForeignKeyConstraint.h


Protocol Description

Protocol for a foreign key constraint. It provides access to the referenced table and the columns that are used in that reference.


Method Types

- columns
- referredTable
- referredColumns

Instance Methods

columns

- (NSArray*)columns

array of columns this foreign key refers to


referredColumns

- (NSArray*)referredColumns

array of columns from referredTable to match local columns.


referredTable

- (id<RTSQLTable>)referredTable

table this foreign key references


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