NAME

DBIO::DuckDB::Introspect::Tables - Introspect DuckDB tables and views

VERSION

version 0.900000

DESCRIPTION

Fetches DuckDB table and view metadata via information_schema.tables. Skips system schemas (information_schema, pg_catalog).

METHODS

fetch

my $tables = DBIO::DuckDB::Introspect::Tables->fetch($dbh, $schema);
my $tables = DBIO::DuckDB::Introspect::Tables->fetch($dbh, $schema, $catalog);

Returns a hashref keyed by table name. Each value has: table_name, kind (table or view), schema.

When $catalog is defined an AND table_catalog = ? clause is added.

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

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