SwiftprotocolFindMyStorage
protocol FindMyStorage.Database
Members 31
- func
_test_raw_scalar_sql_query(String) throws -> Int64 - func
await(state: FindMyStorage.DatabaseState) async throws -> () - func
checkpoint(mode: FindMyStorage.DatabaseCheckpointMode) throws -> () - func
columnNames(connection: SwiftSQLite.Connection, tableName: String) throws -> [String] - func
method descriptor for createIfNecessary() throws -> () - func
createIfNecessary() throws -> () - func
method descriptor for databaseAvailable() -> () - func
method descriptor for encryptionKey() throws -> Foundation.Data? - func
establishConnection(baseContainerURL: Foundation.URL, temporary: Bool) throws -> FindMyStorage.ConnectionPair - func
excludeFromBackup() throws -> () - func
incrementalVacuum() throws -> () - func
method descriptor for migrate(from: Int32, to: Int32, writeConnection: SwiftSQLite.Connection) throws -> () - func
optimize() throws -> () - func
method descriptor for purge() throws -> () - func
purge() throws -> () - func
method descriptor for reset() throws -> () - func
reset() throws -> () - func
method descriptor for startup() throws -> () - func
startup() throws -> () - func
tableNames(connection: SwiftSQLite.Connection) throws -> [String] - func
method descriptor for underlyingFileURLs(baseContainerURL: Foundation.URL) throws -> (base: Foundation.URL, shmem: Foundation.URL, wal: Foundation.URL) - var
var baseContainerURL: Foundation.URL { get } - var
var connectionPair: FindMyStorage.ConnectionPair? { get set modify } - var
var currentVersion: Int32 { get } - var
var description: String { get } - var
var isolatedDescription: String { get } - var
var readConnection: SwiftSQLite.Connection? { get } - var
var state: FindMyStorage.DatabaseState { get } - var
var stateStream: AsyncStream<(FindMyBase.Transaction, FindMyStorage.DatabaseState)> { get } - var
var temporary: Bool { get } - var
var writeConnection: SwiftSQLite.Connection? { get }
Header
protocol Database: FindMyBase.IsolatedCustomStringConvertible, Swift.CustomStringConvertible { var baseContainerURL: Foundation.URL { get } var connectionPair: FindMyStorage.ConnectionPair? { get set } var currentVersion: Swift.Int32 { get } var state: FindMyStorage.DatabaseState { get } var stateStream: Swift.AsyncStream<(FindMyBase.Transaction, FindMyStorage.DatabaseState)> { get } var temporary: Swift.Bool { get } func encryptionKey() throws -> Foundation.Data? func underlyingFileURLs(baseContainerURL: Foundation.URL) throws -> (base: Foundation.URL, shmem: Foundation.URL, wal: Foundation.URL) func startup() throws func databaseAvailable() func migrate(from: Swift.Int32, to: Swift.Int32, writeConnection: SwiftSQLite.Connection) throws func purge() throws func reset() throws func createIfNecessary() throws } extension FindMyStorage.Database { var description: Swift.String { get } var isolatedDescription: Swift.String { get } var readConnection: SwiftSQLite.Connection? { get } var writeConnection: SwiftSQLite.Connection? { get } func checkpoint(mode: FindMyStorage.DatabaseCheckpointMode) throws func tableNames(connection: SwiftSQLite.Connection) throws -> [Swift.String] func columnNames(connection: SwiftSQLite.Connection, tableName: Swift.String) throws -> [Swift.String] func createIfNecessary() throws func excludeFromBackup() throws func incrementalVacuum() throws func establishConnection(baseContainerURL: Foundation.URL, temporary: Swift.Bool) throws -> FindMyStorage.ConnectionPair func _test_raw_scalar_sql_query(_: Swift.String) throws -> Swift.Int64 func await(state: FindMyStorage.DatabaseState) async throws func purge() throws func reset() throws func startup() throws func optimize() throws }