NAME
DBIO::PostgreSQL::Introspect::CheckConstraints - Introspect PostgreSQL CHECK constraints
VERSION
version 0.900000
DESCRIPTION
Fetches CHECK constraint metadata from pg_catalog.pg_constraint where contype = 'c'.
METHODS
fetch
my $checks = DBIO::PostgreSQL::Introspect::CheckConstraints->fetch($dbh, $filter);
Returns a hashref keyed by schema.table. Each value is a hashref keyed by constraint name. Each entry has: constraint_name, definition (the CHECK expression from pg_get_constraintdef), columns (ArrayRef of column names the constraint references, may be empty for table-level checks).
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.