fmd

FMDBHelpers

SQL helpers for use with sqlite & FMDB

Showing:

Popularity

Downloads/wk

0

GitHub Stars

61

Maintenance

Last Commit

6yrs ago

Contributors

2

Package

Dependencies

1

License

MIT

Categories

Readme

FMDBHelpers

FMDBHelpers provides helper methods for executing common SQL statements with FMDB.

For example, instead of:

    FMResultSet * results = [db executeQuery:@"SELECT * FROM people ORDER BY firstName"];
    NSMutableArray * people = [NSMutableArray array];
    while ([results next])
    {
        [people addObject:results.resultsDictionary];
    }

You can simply write:

    NSArray * people = [db selectAllFrom:@"people" orderBy:@"firstName" error:NULL];

In addition to basic SELECT statements, there are also helpers for creating tables and indexes, inserting, updating, and deleting records.

Usage

FMDBHelpers contains categories for FMDatabase and FMResultSet. Both are documented on cocoadocs.org

Installation

FMDBHelpers can be installed with Cocoapods:

    pod 'FMDBHelpers'

Contributors

Contributors are listed in CONTRIBUTORS.md. Thanks!

License

FMDBHelpers is covered by the MIT license. See the LICENSE file for full text.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100