geopackage-ts
    Preparing search index...

    Interface UserTable

    Represents a user-defined table within a GeoPackage database.

    A user table consists of a name, an ordered list of column definitions, and the name of the primary key column. This serves as the base table structure for both feature tables and attribute tables.

    const table: UserTable = {
    tableName: 'my_features',
    columns: [
    { index: 0, name: 'id', dataType: GeoPackageDataType.INTEGER, notNull: true, defaultValue: null, primaryKey: true, autoincrement: true, unique: false },
    { index: 1, name: 'name', dataType: GeoPackageDataType.TEXT, notNull: false, defaultValue: null, primaryKey: false, autoincrement: false, unique: false },
    ],
    pkColumnName: 'id',
    };
    interface UserTable {
        columns: UserColumn[];
        pkColumnName: string;
        tableName: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    columns: UserColumn[]

    The ordered list of column definitions for this table.

    pkColumnName: string

    The name of the primary key column.

    tableName: string

    The name of the table in the GeoPackage database.