Skip to content

DatabaseColumnInfo

Defined in: types/database.ts:16

Metadata for a single column returned by mobilelocker.database.describe().

cid: number;

Defined in: types/database.ts:18

Column index (0-based), as reported by PRAGMA table_info.


name: string;

Defined in: types/database.ts:19


type: string;

Defined in: types/database.ts:21

SQLite type affinity (e.g. 'TEXT', 'INTEGER', 'REAL', 'BLOB').


not_null: boolean;

Defined in: types/database.ts:23

Whether the column has a NOT NULL constraint.


default_value: string | null;

Defined in: types/database.ts:25

Default value expression, or null if none is defined.


primary_key: boolean;

Defined in: types/database.ts:27

Whether this column is part of the primary key.