NetNewsWire/Frameworks/RSDatabase/README.md

13 lines
686 B
Markdown
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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](https://github.com/ccgus/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.