Enumerationswift-package-manager 6.0.3Basics
Errors
SQLite.swift:299enum Errors
enum Errors
import Basics
final class SQLite
A minimal SQLite wrapper.
case databaseFull
init(location: Location, configuration: Configuration = Configuration()) throws
Create or open the database at the given path.
let configuration: Configuration
The configuration for the database.
let location: Location
The location of the database.
func close() throws
func exec(query queryString: String, args: [CVarArg] = [], _ callback: SQLiteExecCallback? = nil) throws
Directly execute the given query.
func prepare(query: String) throws -> PreparedStatement
Prepare the given query.
struct Column
struct Configuration
enum Location
struct PreparedStatement
Represents a prepared statement.
struct Row
Represents a row returned by called step() on a prepared statement.
enum SQLiteValue
Represents an sqlite value.
typealias SQLiteExecCallback = ([Column]) -> Void
convenience init(dbPath: AbsolutePath) throws
protocol Equatable
A type that can be compared for value equality.
protocol Error : Sendable
A type representing an error value that can be thrown.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
var interpolationDescription: String { get }
var localizedDescription: String { get }
Retrieve the localized description for this error.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.