SwiftstructOnDeviceStorageCore
struct OnDeviceStorageCore.IndexDefinition
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
Members 8
- field
let columns: [String]+0x28 - field
let name: String+0x10 - field
let orders: [String : OnDeviceStorageCore.IndexDefinition.Order]?+0x40 - field
let table: String+0x0 - field
let unique: Bool+0x20 - field
let where: String?+0x30 - func
toSQL(ifNotExists: Bool) -> String - init
init(table: String, name: String, unique: Bool, columns: [String], where: String?, orders: [String : OnDeviceStorageCore.IndexDefinition.Order]?) -> OnDeviceStorageCore.IndexDefinition
Header
struct IndexDefinition { enum Order { case ASC case DESC } enum IndexError { case tooLong(Swift.String, Swift.String) } let table: Swift.String let name: Swift.String let unique: Swift.Bool let columns: [Swift.String] let where: Swift.String? let orders: [Swift.String : OnDeviceStorageCore.IndexDefinition.Order]? init(table: Swift.String, name: Swift.String, unique: Swift.Bool, columns: [Swift.String], where: Swift.String?, orders: [Swift.String : OnDeviceStorageCore.IndexDefinition.Order]?) func toSQL(ifNotExists: Swift.Bool) -> Swift.String }