Instance Propertygrdb 7.4.0GRDB
primaryKeyIndex
The one-based index of the column in the primary key.
let primaryKeyIndex: Int
For columns that are not part of the primary key, it is zero.
The one-based index of the column in the primary key.
let primaryKeyIndex: Int
For columns that are not part of the primary key, it is zero.
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct ColumnInfo
Information about a column of a database table.
@frozen struct Int
A signed integer value type.
init(row: Row)
let defaultValueSQL: String?
The SQL snippet that defines the default value, if any.
let isNotNull: Bool
A boolean value indicating if the column is constrained to be not null.
let name: String
The column name.
let type: String
The column data type.