SwiftclassIntelligencePlatformQuery
class IntelligencePlatformQuery.SQLConnection
Members 32
- func
static sqlError(db: OpaquePointer, resultCode: Int32, statement: OpaquePointer?, message: String?) -> IntelligencePlatformQuery.SQLConnection.Error - func
static sqlErrorLite(resultCode: Int32, statement: OpaquePointer?, message: String?) -> IntelligencePlatformQuery.SQLConnection.Error - func
static sqlite_result_string(context: OpaquePointer, string: String) -> () - var
static var SQLITE_TRANSIENT: @convention(c) (UnsafeMutableRawPointer?) -> () { get set } - deinit
deinit - field
let account: BMAccount? - field
var attachedDatabases: [String : Foundation.URL] - field
var authorizerInstalled: Bool - field
let handle: OpaquePointer+0x10 - field
let library: BiomeStreams.LibraryBase.Type - field
let privileges: [BMSQLColumnAccessSet]? - field
var streamModule: IntelligencePlatformQuery.VirtualTable.Stream.Module? - field
var streamTombstoneModule: IntelligencePlatformQuery.VirtualTable.StreamTombstone.Module? - field
var unicode61WrapperTokenizerDataReference: IntelligencePlatformQuery.Unicode61WrapperTokenizerDataReference? - field
let useCase: BMUseCaseIdentifier - field
var viewModule: IntelligencePlatformQuery.VirtualTable.View.Module? - func
addTokenizer<A>(apiHandler: (UnsafePointer<fts5_api>) throws -> A) -> A - func
addUnicodeWrapperTokenizer() -> () - func
attachDatabase(url: Foundation.URL, as: String, readwrite: Bool) throws -> () - func
createVirtualTable(tableName: String, moduleName: String) throws -> () - func
detachDatabase(String) throws -> () - func
execute(query: String, block: (IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws -> () - func
execute(query: String, against: IntelligencePlatformQuery.IncrementalIdentifier.PersistableGlobalBookmark, block: (IntelligencePlatformQuery.IncrementalResultSet) throws -> ()) throws -> IntelligencePlatformQuery.IncrementalIdentifier.PersistableGlobalBookmark - func
execute(query: String, bindings: [IntelligencePlatformQuery.SQLConnection.Bindable?], block: (IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws -> () - func
executeWithoutAuthorizer(_: String, block: (IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws -> () - func
executeWithoutAuthorizer(String) throws -> () - func
extendConnection(block: (OpaquePointer) throws -> ()) throws -> () - func
installEntityIdentifierFunction() -> () - func
register(module: IntelligencePlatformQuery.VirtualTable.Module) throws -> () - init
IntelligencePlatformQuery.SQLConnection.__allocating_init(streamIdentifiers: any Sequence<Self.Sequence.Element == String>, databaseIdentifiers: any Sequence<Self.Sequence.Element == String>, setIdentifiers: any Sequence<Self.Sequence.Element == String>, useCase: BMUseCaseIdentifier, library: BiomeStreams.LibraryBase.Type, privileges: [BMSQLColumnAccessSet]?, account: BMAccount?) throws -> IntelligencePlatformQuery.SQLConnection - init
IntelligencePlatformQuery.SQLConnection.__allocating_init(library: BiomeStreams.LibraryBase.Type, privileges: [BMSQLColumnAccessSet]?, useCase: BMUseCaseIdentifier, account: BMAccount?) throws -> IntelligencePlatformQuery.SQLConnection - init
IntelligencePlatformQuery.SQLConnection.__allocating_init(useCase: BMUseCaseIdentifier, account: BMAccount?) throws -> IntelligencePlatformQuery.SQLConnection
Header
class SQLConnection { enum Error { case unexpected(Swift.String) case missingParameter(parameter: Swift.String, context: Swift.String) case usage(Swift.String) case sql(resultCode: Swift.Int32, errorCode: Swift.Int32, extendedErrCode: Swift.Int32, errorString: Swift.String, errorMessage: Swift.String, errorOffset: Swift.Int32, sqlString: Swift.String?, message: Swift.String?) case sqlLite(resultCode: Swift.Int32, errorString: Swift.String, sqlString: Swift.String?, message: Swift.String?) case memory var description: Swift.String { get } } protocol DatabaseType { init(value: Swift.OpaquePointer) throws func bindTo(_: Swift.OpaquePointer, index: Swift.Int32) throws static var sqlite3Type: BiomeStreams.LibraryArtifact.SQLDataType { get } } protocol Bindable { func bind(stmt: Swift.OpaquePointer, idx: Swift.Int32) -> Swift.Int32 } let handle: Swift.OpaquePointer let library: any BiomeStreams.LibraryBase.Type let privileges: [__C.BMSQLColumnAccessSet]? let useCase: __C.BMUseCaseIdentifier let account: __C.BMAccount? var streamModule: IntelligencePlatformQuery.VirtualTable.Stream.Module? var streamTombstoneModule: IntelligencePlatformQuery.VirtualTable.StreamTombstone.Module? var viewModule: IntelligencePlatformQuery.VirtualTable.View.Module? var attachedDatabases: [Swift.String : Foundation.URL] var authorizerInstalled: Swift.Bool var unicode61WrapperTokenizerDataReference: IntelligencePlatformQuery.Unicode61WrapperTokenizerDataReference? init(library: any BiomeStreams.LibraryBase.Type, privileges: [__C.BMSQLColumnAccessSet]?, useCase: __C.BMUseCaseIdentifier, account: __C.BMAccount?) throws init(streamIdentifiers: any Swift.Sequence<Swift.String>, databaseIdentifiers: any Swift.Sequence<Swift.String>, setIdentifiers: any Swift.Sequence<Swift.String>, useCase: __C.BMUseCaseIdentifier, library: any BiomeStreams.LibraryBase.Type, privileges: [__C.BMSQLColumnAccessSet]?, account: __C.BMAccount?) throws init(useCase: __C.BMUseCaseIdentifier, account: __C.BMAccount?) throws final func addTokenizer<A>(apiHandler: (_: Swift.UnsafePointer<__C.fts5_api>) throws -> A) -> A final func attachDatabase(url: Foundation.URL, as: Swift.String, readwrite: Swift.Bool) throws final func detachDatabase(_: Swift.String) throws final func extendConnection(block: (_: Swift.OpaquePointer) throws -> ()) throws final func createVirtualTable(tableName: Swift.String, moduleName: Swift.String) throws final func executeWithoutAuthorizer(_: Swift.String, block: (_: IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws final func executeWithoutAuthorizer(_: Swift.String) throws final func addUnicodeWrapperTokenizer() final func installEntityIdentifierFunction() final func execute(query: Swift.String, block: (_: IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws final func execute(query: Swift.String, against: IntelligencePlatformQuery.IncrementalIdentifier.PersistableGlobalBookmark, block: (_: IntelligencePlatformQuery.IncrementalResultSet) throws -> ()) throws -> IntelligencePlatformQuery.IncrementalIdentifier.PersistableGlobalBookmark final func execute(query: Swift.String, bindings: [(any IntelligencePlatformQuery.SQLConnection.Bindable)?], block: (_: IntelligencePlatformQuery.ResultSetCursor) throws -> ()) throws final func register(module: any IntelligencePlatformQuery.VirtualTable.Module) throws static var SQLITE_TRANSIENT: @convention(c) (_: Swift.UnsafeMutableRawPointer?) -> () { get set } static func sqlErrorLite(resultCode: Swift.Int32, statement: Swift.OpaquePointer?, message: Swift.String?) -> IntelligencePlatformQuery.SQLConnection.Error static func sqlite_result_string(context: Swift.OpaquePointer, string: Swift.String) static func sqlError(db: Swift.OpaquePointer, resultCode: Swift.Int32, statement: Swift.OpaquePointer?, message: Swift.String?) -> IntelligencePlatformQuery.SQLConnection.Error deinit }