NSObject(FMDatabasePoolDelegate) Category Reference
| Declared in | FMDatabasePool.h |
|---|
Overview
FMDatabasePool delegate category
This is a category that defines the protocol for the FMDatabasePool delegate
– databasePool:shouldAddDatabaseToPool:
Asks the delegate whether database should be added to the pool.
- (BOOL)databasePool:(FMDatabasePool *)pool shouldAddDatabaseToPool:(FMDatabase *)databaseParameters
pool |
The |
|---|---|
database |
The |
Return Value
YES if it should add database to pool; NO if not.
Discussion
Asks the delegate whether database should be added to the pool.
Declared In
FMDatabasePool.h
– databasePool:didAddDatabase:
Tells the delegate that database was added to the pool.
- (void)databasePool:(FMDatabasePool *)pool didAddDatabase:(FMDatabase *)databaseParameters
pool |
The |
|---|---|
database |
The |
Discussion
Tells the delegate that database was added to the pool.
Declared In
FMDatabasePool.h