DatabaseWriter

A type that writes into an SQLite database.

DatabaseWriter.swift:64
protocol DatabaseWriter : DatabaseReader
Browse conforming types

Do not declare new conformances to DatabaseWriter. Only the built-in conforming types are valid.

A database writer creates one single SQLite connection dedicated to database updates. All updates are executed in a serial writer dispatch queue.

Read accesses are defined by DatabaseReader, the protocol all database writers conform to.

See Concurrency for more information about the behavior of conforming types in a multithreaded application.

Writing into the Database

Exclusive Access to the Database

Reading from the Latest Committed Database State

Unsafe Methods

Observing Database Transactions

Other Database Operations

Supporting Types