NetNewsWire/Frameworks/RSDatabase
Brent Simmons 1b44591692 Save new and updated articles to the database. 2017-10-08 01:54:37 -07:00
..
FMDB Add RSDatabase. 2017-05-22 13:09:19 -07:00
RSDatabase Move save-using-cache code to DatabaseRelatedObjectsTable. Fix some build errors. 2017-09-13 13:29:52 -07:00
RSDatabase.xcodeproj Rewrite and move BatchUpdate.swift. 2017-10-05 20:34:29 -07:00
RSDatabaseTests Add RSDatabase. 2017-05-22 13:09:19 -07:00
RSDatabaseiOS Add RSDatabase. 2017-05-22 13:09:19 -07:00
Related Objects Save new and updated articles to the database. 2017-10-08 01:54:37 -07:00
.gitignore Add RSDatabase. 2017-05-22 13:09:19 -07:00
DatabaseTable.swift Add article.changesFrom() to get changes in an Article. 2017-09-09 12:09:48 -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.