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_C
  • FOREIGN_KEY
  • FULL_TEXT
  • NOT_NULL
  • NORMAL
  • NULL
  • PRIMARY_KEY
  • UNIQUE
  • EXCLUDE

πŸ’– 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