NetNewsWire/Frameworks/RSDatabase
Brent Simmons b0cb01a68e Make a mess of things. Article and ArticleStatus are now immutable structs. 2017-09-04 17:10:02 -07:00
..
FMDB Add RSDatabase. 2017-05-22 13:09:19 -07:00
RSDatabase Make a mess of things. Article and ArticleStatus are now immutable structs. 2017-09-04 17:10:02 -07:00
RSDatabase.xcodeproj Create and use a DatabaseRelatedObjectsTable protocol, which clarifies the relationships between different table types. 2017-09-02 10:11:19 -07:00
RSDatabaseTests Add RSDatabase. 2017-05-22 13:09:19 -07:00
RSDatabaseiOS Add RSDatabase. 2017-05-22 13:09:19 -07:00
.gitignore Add RSDatabase. 2017-05-22 13:09:19 -07:00
DatabaseTable.swift Create and use a DatabaseRelatedObjectsTable protocol, which clarifies the relationships between different table types. 2017-09-02 10:11:19 -07:00
LICENSE Add RSDatabase. 2017-05-22 13:09:19 -07:00
README.md Add RSDatabase. 2017-05-22 13:09:19 -07:00

README.md

RSDatabase

This is utility code for using SQLite via FMDB. Its not a persistence framework — its lower-level.

It builds as a couple frameworks — one for Mac, one for iOS.

It has no additional dependencies, but thats because FMDB is actually included — you might want to instead make sure you have the latest FMDB, which isnt necessarily included here.

What to look at

The main thing is RSDatabaseQueue, which allows you to talk to SQLite-via-FMDB using a serial queue.

The second thing is FMDatabase+RSExtras, which provides methods for a bunch of common queries and updates, so you dont have to write as much SQL.