CiderW...ntacts(3pm)

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

✨ NAME ✨

CiderWebmail::DB::Result::RecentContacts β€” it's the Perl class that's basically the little black book of your mailbox πŸ“–πŸ’– it remembers who you've been emailing lately so the compose window can be all "hey bestie, you literally just talked to them" πŸ’…

This page lives in the CiderW...ntacts(3pm) corner of the User Contributed Perl Documentation, so that's the vibe check you're in 🌸


πŸ—„οΈ TABLE: "recent_contacts"

Yeah so this class is fronting for a database table called recent_contacts. That's the whole table, that's the whole vibe, no cap ✨


πŸŽ€ ACCESSORS

Okay these are the columns, aka the little slots of info this table keeps track of πŸ‘‘ Every single one of them:

user

  • data_type: 'varchar'
  • is_nullable: 0

so like… it's a varchar, and it is not nullable, meaning you literally cannot leave it empty, it's giving "this field is the main character and will not be ghosted" 😀

name

  • data_type: 'varchar'
  • is_nullable: 0

also a varchar, also not nullable β€” the name field said "I'm not optional, periodt" πŸ’…

email

  • data_type: 'varchar'
  • is_nullable: 0

yep, varchar again, and again not nullable πŸ¦‹ the email is required, obviously, it's literally the point of the whole table fr fr

last_used

  • data_type: 'date'
  • is_nullable: 0

this one's a date (not a timestamp, not a datetime, just a date, keep it exact bestie) and it's not nullable either β€” every row has to know when it was last touched 🫢 iconic behaviour honestly


πŸ‘‘ PRIMARY KEY

The primary key is a combo, a duo, a little dynamic duo if you will:

  • "user"
  • "email"

So the pair of them together is what makes a row unique. Not one, not the other, both πŸ’– the way that user + email are holding hands as the key is honestly so cute, they ate 🌈


no cap, no guessing: the only things this page actually tells you are the table name, those four accessors with their data_type and is_nullable values, and that two-part primary key. Everything else is just vibes πŸŽ€

okay that's the whole page bestie, you're all caught up πŸ’œ this lil doc came to you from perl v5.40.1, dated 2025-03-02, under the CiderW...ntacts(3pm) title β€” so go forth and email people, the recent contacts table has your back πŸ¦‹βœ¨πŸŒΈ

πŸ“¦ where this page comes from