SQLite
public final class SQLite
Undocumented
-
Undocumented
Declaration
Swift
public let logger: Logger
-
Undocumented
Declaration
Swift
public var lastInsertRowID: Int { get }
-
Undocumented
Declaration
Swift
public init(logger: Logger = .init(label: "dev.tuproq.sqlite"))
-
Undocumented
Declaration
Swift
public func open(path: String = ":memory:", options: Options = [.create, .fullMutex, .readWrite]) throws
-
Undocumented
Declaration
Swift
public func close()
-
Undocumented
Declaration
Swift
@discardableResult public func query(_ query: String, parameters: SQLiteEncodable?...) throws -> [[String : SQLiteDecodable?]]
-
Undocumented
Declaration
Swift
@discardableResult public func query(_ query: String, parameters: [SQLiteEncodable?]) throws -> [[String : SQLiteDecodable?]]
-
Undocumented
Declaration
Swift
@discardableResult public func execute(_ statement: Statement) throws -> [[String : SQLiteDecodable?]]
-
Undocumented
See moreDeclaration
Swift
public struct Options : OptionSet