Add unit tests
This commit is contained in:
parent
ddc47abdde
commit
bbb7f14650
38 changed files with 1040 additions and 515 deletions
|
|
@ -12,10 +12,10 @@ import Foundation
|
|||
///
|
||||
/// - ``isAutocommit``
|
||||
/// - ``isReadonly``
|
||||
/// - ``busyTimeout``
|
||||
///
|
||||
/// ### Accessing PRAGMA Values
|
||||
///
|
||||
/// - ``busyTimeout``
|
||||
/// - ``applicationID``
|
||||
/// - ``foreignKeys``
|
||||
/// - ``journalMode``
|
||||
|
|
@ -84,6 +84,8 @@ public protocol ConnectionProtocol: AnyObject {
|
|||
/// - SeeAlso: [Determine if a database is read-only](https://sqlite.org/c3ref/db_readonly.html)
|
||||
var isReadonly: Bool { get }
|
||||
|
||||
// MARK: - PRAGMA Accessors
|
||||
|
||||
/// The busy timeout of the connection, in milliseconds.
|
||||
///
|
||||
/// Defines how long SQLite waits for a locked database to become available before returning
|
||||
|
|
@ -93,8 +95,6 @@ public protocol ConnectionProtocol: AnyObject {
|
|||
/// - SeeAlso: [Set A Busy Timeout](https://sqlite.org/c3ref/busy_timeout.html)
|
||||
var busyTimeout: Int32 { get set }
|
||||
|
||||
// MARK: - PRAGMA Accessors
|
||||
|
||||
/// The application identifier stored in the database header.
|
||||
///
|
||||
/// Used to distinguish database files created by different applications or file formats. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue