Structuregrdb 7.3.0GRDB
IndexInfo
Information about an index.
struct IndexInfo
You get IndexInfo
instances with the indexes(on:in:)
Database
method.
Related SQLite documentation:
Information about an index.
struct IndexInfo
You get IndexInfo
instances with the indexes(on:in:)
Database
method.
Related SQLite documentation:
import GRDB
A toolkit for SQLite databases, with a focus on application development
func indexes(on tableName: String, in schemaName: String? = nil) throws -> [IndexInfo]
The indexes on table named tableName
.
struct ColumnInfo
Information about a column of a database table.
struct ForeignKeyInfo
Information about a foreign key.
struct PrimaryKeyInfo
Information about a primary key.
protocol Sendable
let columns: [String]
The indexed columns.
let isUnique: Bool
A boolean value indicating if the index is unique.
let name: String
The name of the index.
let origin: Origin
The origin of the index.
struct Origin
The origin of an index.