The documentation suggests that the index schema information can be queried. That requires the IndexDefinition properties to be public.
At the moment, the following code does not work, when used in an project that depends on SQLite.swift:
let indexes = try schema.indexDefinitions("users")
for index in indexes {
print("\(index.name) columns:\(index.columns))") // <- index.name and index.columns is not visible
}
ObjectDefinition and ColumnDefinition properties are already public, so it seems not to far fetched to change the IndexDefinition properties as well?
The documentation suggests that the index schema information can be queried. That requires the
IndexDefinition
properties to be public.At the moment, the following code does not work, when used in an project that depends on SQLite.swift:
ObjectDefinition
andColumnDefinition
properties are already public, so it seems not to far fetched to change theIndexDefinition
properties as well?