NetNewsWire/Frameworks/RSDatabase
Brent Simmons 17e22fb91a Upgrade to recommended settings everywhere. 2017-11-04 19:16:07 -07:00
..
FMDB
RSDatabase Move save-using-cache code to DatabaseRelatedObjectsTable. Fix some build errors. 2017-09-13 13:29:52 -07:00
RSDatabase.xcodeproj Upgrade to recommended settings everywhere. 2017-11-04 19:16:07 -07:00
RSDatabaseTests
RSDatabaseiOS
Related Objects Save new and updated articles to the database. 2017-10-08 01:54:37 -07:00
.gitignore
DatabaseTable.swift Add article.changesFrom() to get changes in an Article. 2017-09-09 12:09:48 -07:00
LICENSE
README.md

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.