- Conforms To:
- NSObject
- Declared In:
- RTSQLDatabase.h
| FrontBase | Schema |
| Microsoft | SQL Server Owner |
| MySQL | Database |
| OpenBase | Schema |
| Oracle | User |
| PostgreSQL | For versions prior to 7.3, none. MacSQL creates fakes schemas named "USER" and "SYSTEM" |
| PostgreSQL | For version 7.3 and above, Schema |
| Sybase | Owner |
- - name
- - dataLoaded
- - invalidateData
- - tables
- - tableNames
- - tableWithName:
- - session
- (BOOL)dataLoaded
If returns NO, documented methods could require network traffic to the remote server
- (void)invalidateData
Causes object to invalidate list of tables from server, unloading data.
- (NSString*)name
Returns the name of this RTSQLDatabase.
- (id <RTSQLSession>)session
returns parent session
- (NSArray*)tableNames
Returns array of table names for this database. If dataLoaded == NO, then will contact server form information, could block. Useful for displaying list of table names since key-value coding for tables.name can cause problems if a table has a column named "name".
- (id <RTSQLTable>)tableWithName:(NSString*)name
Returns the table with the specified name, or nil if no such table exists.
- (NSArray*)tables
Returns array of tables for this database. If dataLoaded == NO, then will contact server for information, which could result in blocking the current thread.