CiderW...essbook(3pm)

πŸ“¦
version 1.05+20240702 Β· 5 versions
, in debian trixie, ubuntu resolute

πŸ’– NAME πŸ’–

CiderWebmail::DB::Result::Addressbook β€” bestie, this is the DBIx::Class result class for the addressbook table. It's the lil' Perl object that knows how to be a row in your contacts list. ✨


🌸 TABLE: addressbook 🌸

Yeah so that's the table it's repping. Every instance of this class = one row in addressbook, and every accessor below = one column. Simple as. 🫢


✨ ACCESSORS ✨

These are the columns, okay? Each one comes with its data_type, whether it auto-increments, and whether it'll let you leave it empty. Spoiler: none of them let you leave them empty. is_nullable: 0 across the board, no cap. πŸ’…

🌈 id

data_type: 'integer'
is_auto_increment: 1
is_nullable: 0

The main character. πŸ‘‘ It's an integer, it auto-increments all by itself (so the database handles the numbering, you don't gotta), and nope, it is not nullable β€” is_nullable: 0, periodt.

πŸ¦‹ user

data_type: 'varchar'
is_nullable: 0

A varchar for the user, and it is NOT nullable β€” is_nullable: 0. You're giving it a value, bestie, no skipping. πŸŽ€

πŸ“ firstname

data_type: 'varchar'
is_nullable: 0

varchar, holds the first name, is_nullable: 0 so it's mandatory. Fill it in or the DB will simply decline. πŸ™ˆ

🌸 surname

data_type: 'varchar'
is_nullable: 0

Also varchar, also is_nullable: 0. The last name, living its mandatory little life. πŸ’œ

⭐ email

data_type: 'varchar'
is_nullable: 0

varchar for the email address, and yup β€” is_nullable: 0. Required, iconic, no exceptions. πŸ’Œ


πŸ‘‘ PRIMARY KEY πŸ‘‘

  • "id" β€” that's it, that's the key. The one and only. Everything else is just vibing alongside it.

Okay so quick recap for the group chat: it's CiderWebmail::DB::Result::Addressbook, it lives on the addressbook table, it's got five accessors (id, user, firstname, surname, email), every single one is non-nullable, only id auto-increments, and the primary key is id. Slay. πŸ’…βœ¨

This page comes from the User Contributed Perl Documentation collection, and it was generated by perl v5.40.1 on 2025-03-02. Bye bestie, go build something cute πŸ¦‹πŸ’–

πŸ“¦ where this page comes from