SQL::Tr...nstants(3)
okay so bestie, welcome to SQL::Tr...nstants(3) β the User Contributed Perl Documentation page that is lowkey tiny but highkey important. it's giving small module, big constants energy π
πΈ NAME πΈ
SQL::Translator::Schema::Constants β constants module. literally that's the whole name, and it's iconic for exactly what it says.
β¨ SYNOPSIS β¨
here's how you pull it in and use it, no cap:
use SQL::Translator::Schema::Constants;
$table->add_constraint(
name => 'foo',
type => PRIMARY_KEY,
);
π¦ DESCRIPTION π¦
okay so this module exports the following constants for Schema features; fr fr, that's the whole tea:
CHECK_CFOREIGN_KEYFULL_TEXTNOT_NULLNORMALNULLPRIMARY_KEYUNIQUEEXCLUDE
π AUTHOR π
Ken Youens-Clark <kclark@cpan.org>. periodt. π
mwah π this page was brought to you by perl v5.42.0, dated 2024-12-12, and the one and only SQL::Tr...nstants(3). bye bestie π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: perl-SQL-Translator 1.660.0-bp160.1.11 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms