ccgus/fmdb — pull request #93 by dataway (2012-09-10 10:37:50+00:00)
Title: Expose a va_list variant to executeQuery and executeUpdate

This patch exposes the va_list possibilities of executeQuery and executeUpdate that were already there.

This allows API consumers to write their own methods with a variable number of arguments, which can simplify things in some cases. The specific example from my project goes like this:

```objc
+ (NSArray *)itemsFromQuery:(NSString *)sql, ... {
va_list args;
va_start(args, sql);
NSArray __block *array;
FMDatabaseQueue *queue = [[IGAppDelegate delegate] databaseQueue];
[queue inDatabase:^(FMDatabase *db) {
FMResultSet *rs = [db executeQuery:sql withVAList:args];
array = [IGItem itemsFromResultSet:rs];
[rs close];
}];
va_end(args);
return array;
}

```