Rose::...::Enum(3pm)

πŸ’… Rose::DB::Object::Metadata::Column::Enum

okay so this is the Rose::...::Enum(3pm) page, straight out of the User Contributed Perl Documentation, and bestie it's literally about enumerated column metadata πŸŽ€ don't worry, we're gonna get through it together and it's gonna slay.


✨ NAME ✨

Rose::DB::Object::Metadata::Column::Enum β€” enumerated column metadata. that's the whole name, she's long but she's iconic πŸ‘‘


🌸 SYNOPSIS 🌸

  use Rose::DB::Object::Metadata::Column::Enum;

  $col = Rose::DB::Object::Metadata::Column::Enum->new(...);
  $col->make_methods(...);
  ...

see how chill that is? new one up, make some methods, dots because there's more and we're not gonna list it all πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

Objects of this class store and manipulate metadata for enum columns. like, that's their whole personality and honestly? respect.

Column metadata objects store info about columns β€” data type, size, etc. β€” and they're the ones responsible for creating object methods that manipulate column values. main character energy fr fr 🌟

so what even is an enum column? it's a column that accepts a restricted set of string values, and those strings are usually stored as sequential integers in the database. cute little ints cosplaying as words, we love a disguise 😭

this class inherits from Rose::DB::Object::Metadata::Column::Scalar. inherited methods that aren't overridden won't be documented a second time here β€” no point repeating ourselves, we're not that kind of girl. go read the Rose::DB::Object::Metadata::Column::Scalar documentation for the deets 🫢


🧚 METHOD MAP 🧚

  • get_set β€” maps to Rose::DB::Object::MakeMethods::Generic, enum, interface => 'get_set', ...
  • get β€” maps to Rose::DB::Object::MakeMethods::Generic, enum, interface => 'get', ...
  • get_set β€” maps to Rose::DB::Object::MakeMethods::Generic, enum, interface => 'set', ...
ngl, yes, that's get_set listed twice. and yes, the second one is interface => 'set'. that's literally what the map says, i'm just the messenger πŸ’€ no cap.

for the full explanation of what this method map even means, go see the Rose::DB::Object::Metadata::Column documentation. she explains it better than i ever could πŸ’œ


πŸ“ OBJECT METHODS πŸ“

  • type β€” returns enum. that's it. that's the method. short queen 🌈
  • values [VALUES] β€” get or set a reference to an array of valid column values. ⚠️ heads up: this attribute is required. like, required required. you can't skip it, she needs her values bestie πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

John C. Siracusa (siracusa@gmail.com) β€” we stan an original author πŸ’–


πŸ“œ LICENSE πŸ“œ

Copyright (c) 2010 by John C. Siracusa. All rights reserved. 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!! ✨ cute little sign-off for you: this was perl v5.40.1, dated 2025-08-21, and it's the Rose::...::Enum(3pm) page we've been vibing with this whole time. periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from