Rose::...tfield(3pm)
π NAME π
okay so welcome to the manual page for Rose::DB::Object::Metadata::Column::Bitfield β straight out of the User Contributed Perl Documentation corner of the manual universe β¨ it's the bitfield column metadata class, and yes it's as niche and iconic as it sounds π
β¨ SYNOPSIS β¨
use Rose::DB::Object::Metadata::Column::Bitfield;
$col = Rose::DB::Object::Metadata::Column::Bitfield->new(...);
$col->make_methods(...);
...
π¦ DESCRIPTION π¦
okay so objects of this class store and manipulate metadata for bitfield columns in a database π column metadata objects store information about columns β like data type, size, etc. β and they're responsible for parsing, formatting, and creating object methods that manipulate column values. very main character energy, honestly π
this class inherits from Rose::DB::Object::Metadata::Column. inherited methods that are not overridden will not be documented a second time here, bestie β see the Rose::DB::Object::Metadata::Column documentation for more information π«Ά
β οΈ important note, fr fr: if you're using MySQL 5.0.3 or later, you must allow inline column values in anyRose::DB::Object-derived class that has one or more bitfield columns. (that is, columns that use the"BIT"data type.) this requirement may be relaxed in the future. so yeah, don't skip that detail π
π METHOD MAP π
"get_set"βRose::DB::Object::MakeMethods::Generic, bitfield, ..."get"βRose::DB::Object::MakeMethods::Generic, bitfield, ..."get_set"βRose::DB::Object::MakeMethods::Generic, bitfield, ...
and yes, get_set really is listed twice up there β I don't make the rules, I just keep every detail π see the Rose::DB::Object::Metadata::Column documentation for an explanation of this method map πΈ
π OBJECT METHODS π
bits [INT]β get or set the number of bits in the column β¨parse_value DB, VALUEβ convertVALUEto the equivalentBit::Vectorobject. the return value of the column object'sbits()method is used to determine the length of the bitfield in bits.DBis aRose::DBobject that is used as part of the parsing process. both arguments are required π«Άtypeβ returns"bitfield"π¦
π AUTHOR π
John C. Siracusa (siracusa@gmail.com) β icon behavior, honestly π
π 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. periodt π
and that's the whole page, bestie π«Ά β it comes from perl v5.40.1, dated 2025-08-21, under the page name Rose::...tfield(3pm). bye mwah π
π¦ where this page comes from
- ubuntu resolute: librose-db-object-perl 1:0.822-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librose-db-object-perl 1:0.822-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms