@arcmantle/sqlite-wrapper
    Preparing search index...

    Function getTableColumns

    • Gets detailed information about all columns in a table. Uses the PRAGMA table_info command to retrieve column metadata including column ID, name, type, null constraints, default values, and primary key status.

      Parameters

      • db: Database
      • table: string

      Returns {
          cid: number;
          dflt_value: null | string | number;
          name: string;
          notnull: 0 | 1;
          pk: 0 | 1;
          type: string;
      }[]