UR::Da...tColumn(3pm)

πŸ“¦
version 0.470 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

okay so bestie, lemme introduce you to UR::DataSource::RDBMS::PkConstraintColumn β€” she's a whole class and she's literally the metadata about a data source's primary keys. iconic behavior, no notes. πŸŽ€

(this one ships inside the UR::Da...tColumn(3pm) manual, iykyk ✨)


🌸 DESCRIPTION 🌸

so what does she even do, you ask? πŸ¦‹

UR::DataSource::RDBMS::PkConstraintColumn represents the columns that make up a primary key. that's it, that's the job. main character energy only. πŸ’…

and here's the cute little detail that matters β€” when a table has a multiple-column primary key, those columns get ordered by their rank property. like, rank decides who goes first. periodt. πŸ‘‘

lowkey important: if you're dealing with a composite PK, don't sleep on rank, bestie. that's the whole ordering system fr fr. 🫢

kisses, bye πŸ’‹ β€” this page came from perl v5.32.1, dated 2022-01-17, and it lives in the UR::Da...tColumn(3pm) neck of the woods. slay. 🌈⭐

πŸ“¦ where this page comes from