mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
README.md
This commit is contained in:
1 parent
93bc01c909
commit
cbb5ec427c
1 file changed
+16
-2
@@ -114,7 +114,7 @@ To fiddle with the library, open the `GRDB.xcworkspace` workspace: it contains a
|
||||
|
||||
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.21.0/index.html) on cocoadocs.org. Beware that it is incomplete: you may prefer reading the inline documentation right into the [source](https://github.com/groue/GRDB.swift/tree/master/GRDB).
|
||||
|
||||
**SQLite API**
|
||||
**[SQLite API](#sqlite-api)**
|
||||
|
||||
- [SQLite Database](#sqlite-database)
|
||||
- [Fetch Queries](#fetch-queries)
|
||||
@@ -130,7 +130,7 @@ To fiddle with the library, open the `GRDB.xcworkspace` workspace: it contains a
|
||||
- [Transactions](#transactions)
|
||||
- [Concurrency](#concurrency)
|
||||
|
||||
**Application tools**
|
||||
**[Application Tools](#application-tools)**
|
||||
|
||||
- [Migrations](#migrations)
|
||||
- [Database Changes Observation](#database-changes-observation)
|
||||
@@ -145,6 +145,9 @@ To fiddle with the library, open the `GRDB.xcworkspace` workspace: it contains a
|
||||
- [Advice](#advice)
|
||||
|
||||
|
||||
SQLite API
|
||||
==========
|
||||
|
||||
## SQLite Database
|
||||
|
||||
You access SQLite databases through thread-safe **database queues** (inspired by [ccgus/fmdb](https://github.com/ccgus/fmdb)):
|
||||
@@ -888,6 +891,17 @@ By default, GRDB opens database in the **default journal mode**, uses **IMMEDIAT
|
||||
See [Configuration](GRDB/Core/Configuration.swift) type and [DatabaseQueue.inTransaction()](GRDB/Core/DatabaseQueue.swift) method for more precise handling of transactions and eventual SQLITE_BUSY errors.
|
||||
|
||||
|
||||
Application Tools
|
||||
=================
|
||||
|
||||
On top of the SQLite API described above, GRDB provides a toolkit for applications. While none of those are mandatory, all of them help dealing with the database:
|
||||
|
||||
- [Migrations](#migrations): Transform your database as your application evolves.
|
||||
- [Database Changes Observation](#database-changes-observation): A robust way to perform post-commit and post-rollback actions.
|
||||
- [RowConvertible Protocol](#rowconvertible-protocol): Turn database rows into handy types, without sacrificing peformance.
|
||||
- [Records](#records): CRUD operations and changes tracking.
|
||||
|
||||
|
||||
## Migrations
|
||||
|
||||
**Migrations** are a convenient way to alter your database schema over time in a consistent and easy way.
|
||||
|
||||
Reference in new issue
Block a user