Declared in FMDatabasePool.h

Overview

FMDatabasePool delegate category

This is a category that defines the protocol for the FMDatabasePool delegate

Tasks

Instance Methods

databasePool:didAddDatabase:

- (void)databasePool:(FMDatabasePool *)pool didAddDatabase:(FMDatabase *)database
Discussion

Tells the delegate that database was added to the pool.

Parameters

pool

The FMDatabasePool object.

database

The FMDatabase object.

Declared In

FMDatabasePool.h

databasePool:shouldAddDatabaseToPool:

- (BOOL)databasePool:(FMDatabasePool *)pool shouldAddDatabaseToPool:(FMDatabase *)database
Discussion

Asks the delegate whether database should be added to the pool.

Parameters

pool

The FMDatabasePool object.

database

The FMDatabase object.

Return Value

YES if it should add database to pool; NO if not.

Declared In

FMDatabasePool.h