DatabaseKit  0.5
DBForeignKeyConstraint Class Reference

#import <DBColumnDefinition.h>

Inheritance diagram for DBForeignKeyConstraint:
[legend]
Collaboration diagram for DBForeignKeyConstraint:
[legend]

Class Methods

(instancetype) + foreignKeyConstraintWithTable:columnName:deferred:onDelete:onUpdate:
 
- Class Methods inherited from DBConstraint
(NSUInteger) + priority
 

Properties

NSString * tableName
 
NSString * columnName
 
BOOL deferred
 
DBForeignKeyAction deleteAction
 
DBForeignKeyAction updateAction
 

Additional Inherited Members

- Instance Methods inherited from <DBSQLRepresentable>
(NSString *) - sqlRepresentationForQuery:withParameters:
 

Detailed Description

Definition at line 50 of file DBColumnDefinition.h.

Method Documentation

+ (instancetype) foreignKeyConstraintWithTable: (NSString *)  tableName
columnName: (NSString *)  columnName
deferred: (BOOL)  deferred
onDelete: (DBForeignKeyAction)  onDelete
onUpdate: (DBForeignKeyAction)  onUpdate 

Definition at line 183 of file DBColumnDefinition.m.

References columnName, deferred, and tableName.

Property Documentation

- (NSString*) columnName
readatomicassign
- (BOOL) deferred
readatomicassign
- (DBForeignKeyAction) deleteAction
readatomicassign

Definition at line 54 of file DBColumnDefinition.h.

- (NSString*) tableName
readatomicassign
- (DBForeignKeyAction) updateAction
readatomicassignprotected

Definition at line 54 of file DBColumnDefinition.h.


The documentation for this class was generated from the following files: