NAME

DBIO::Storage::DBI::Capabilities - Two-tier capability probing for DBI storage drivers

VERSION

version 0.900000

DESCRIPTION

Capability detection for DBIO::Storage::DBI. Uses a two-tier accessor system:

A driver or user may define _use_X, which blindly without any checks says "(do not) use this capability" (use_dbms_capability is an inherited-type accessor).

If _use_X is undef, _supports_X is queried. This is a simple-style accessor which calls _determine_supports_X and stores the return in a slot on the storage object that is wiped on every $dbh reconnection (reconnection is not guaranteed to land on the same RDBMS version). _determine_supports_X does not need to exist on a driver — the runtime ->can-checks for it before calling.

The default capability list is below; drivers add their own with __PACKAGE__->mk_group_accessors(dbms_capability => '_supports_X').

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.