SQL::R...ds::DB2(3pm)

πŸ“¦
version 0.8 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– SQL::ReservedWords::DB2 β€” wait, no, let me say it properly

okay bestie, so the actual name of this whole thing is SQL::ReservedWords::DB2 and it's a Perl module, and it's literally the one that tells you if a word is reserved by DB2 πŸ’…. It lives in the User Contributed Perl Documentation section, so you know it's a real one πŸŽ€.


✨ NAME ✨

SQL::ReservedWords::DB2 β€” Reserved SQL words by DB2 πŸ¦‹


✨ SYNOPSIS ✨

here's the whole vibe, look:

if ( SQL::ReservedWords::DB2->is_reserved( $word ) ) {
    print "$word is a reserved DB2 word!";
}

like. that's it. that's the whole entry point. iconic behavior honestly 😌


✨ DESCRIPTION ✨

So what does it do? It figures out if words are reserved by DB2. That's the entire job. And it does it well, no cap πŸ’œ


✨ METHODS ✨

okay here's the whole roster, no skipping, every single one of them:

  • is_reserved( $word ) β€” hands you back a boolean saying whether $word is reserved by either DB2 5, 6, 7 or 8. note the "either" β€” it's a combined vibe check across all four πŸ”₯
  • is_reserved_by_db2v5( $word ) β€” boolean, but specifically for whether $word is reserved by DB2 5.
  • is_reserved_by_db2v6( $word ) β€” boolean, but specifically for whether $word is reserved by DB2 6.
  • is_reserved_by_db2v7( $word ) β€” boolean, but specifically for whether $word is reserved by DB2 7.
  • is_reserved_by_db2v8( $word ) β€” boolean, but specifically for whether $word is reserved by DB2 8.
  • is_reserved_by_db2v9( $word ) β€” boolean, but specifically for whether $word is reserved by DB2 9. yes girl, v9 is here too, she's real 🫢
  • reserved_by( $word ) β€” returns a list with the DB2 versions that reserve $word. so like, all the versions that said "not on my watch" βœ‹
  • words β€” returns a list with all the reserved words. all of them. the whole squad πŸ‘‘

✨ EXPORTS ✨

Nothing by default. nope, zero, nada, you get nothing unless you ask πŸ™ˆ

But bestie, following subroutines can be exported:

  • is_reserved
  • is_reserved_by_db2v5
  • is_reserved_by_db2v6
  • is_reserved_by_db2v7
  • is_reserved_by_db2v8
  • is_reserved_by_db2v9
  • reserved_by
  • words

✨ SEE ALSO ✨


✨ AUTHOR ✨

Christian Hansen chansen@cpan.org β€” thank you for your service, king πŸ‘‘


This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself. πŸ’–

and that's the whole page, bestie!! fr fr you now know everything this module knows 🌸 This page came to you from perl v5.34.0, dated 2022-06-17, and it's filed under SQL::R...ds::DB2(3pm) in the User Contributed Perl Documentation. mwah, go reserve some words responsibly πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from