- Conforms To:
- NSObject
- Declared In:
- RTSQLTable.h
- - name
- - database
- - isView
- - isSynonym
- - dataLoaded
- - invalidateData
- - columns
- - indexes
- - constraints
- - foreignKeys
- - checkConstraints
- - sqlCreationString
- - columnWithName:
- - indexOfColumn:
- - indexOfColumnNamed:
- (NSArray*)checkConstraints
Returns subset of constraints that are checks. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.
- (id <RTSQLColumn>)columnWithName:(NSString*)name
Returns column with the specified name, or nil if there is no such column.
- (NSArray*)columns
Returns array of columns for this table. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.
- (NSArray*)constraints
Returns array of constraints for this table. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.
- (BOOL)dataLoaded
If returns NO, documented methods could require network traffic to the remote server
- (id <RTSQLDatabase>)database
Returns the database this table belongs to.
- (NSArray*)foreignKeys
Returns subset of constraints that are foreign keys. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.
- (unsigned long)indexOfColumn:(id <RTSQLColumn>)col
Returns the index of col or NSNotFound if not found.
- (unsigned long)indexOfColumnNamed:(NSString*)colName
Returns the index of the column named colName or NSNotFound if not found.
- (NSArray*)indexes
Returns array of indexes for this table. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.
- (void)invalidateData
Causes the invalidation of all column, index, and constraint objects belonging to this table. The next time any of them are requested, they will be refetched from the server.
- (BOOL)isSynonym
Returns YES if this object represents a SQL Synonym.
- (BOOL)isView
Returns YES if this object represents a SQL View.
- (NSString*)name
Returns the name of this table.
- (NSString*)sqlCreationString
Returns SQL creation string for the table. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.