NAME

DBIO::SQLite::Introspect::Columns - Introspect SQLite columns

VERSION

version 0.900000

DESCRIPTION

Fetches column metadata via PRAGMA table_info() (or table_xinfo when available, which also reports hidden/generated columns).

METHODS

fetch

my $columns = DBIO::SQLite::Introspect::Columns->fetch($dbh, $tables);

Given the tables hashref produced by DBIO::SQLite::Introspect::Tables, returns a hashref keyed by table name. Each value is an arrayref of column hashrefs (in declaration order) with keys: column_name, data_type, not_null, default_value, is_pk, pk_position, hidden (xinfo only).

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.