HTML::...aryKey(3pm)

πŸ“¦
version 0.40068 Β· 6 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute

✨ NAME ✨

Okay so you're looking at HTML::FormHandler::Field::PrimaryKey β€” yes, the manual name is literally right there β€” and it's the primary key field. From the User Contributed Perl Documentation, no cap. It's giving β€œI hold the primary key” energy. πŸ’…

🌸 VERSION 🌸

Version 0.40068. Slay, that's the one. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

This field is for providing the primary key for Repeatable fields. Think of it as the little key-holder bestie for your repeatable rows. πŸŽ€

has_field 'addresses' => ( type => 'Repeatable' );
has_field 'addresses.address_id' => ( type => 'PrimaryKey' );
🚨 Do not use this field to hold the primary key of the form's main db object (item). That primary key is in the 'item_id' attribute. Periodt β€” put it in the right place.

πŸ‘‘ AUTHOR πŸ‘‘

FormHandler Contributors - see HTML::FormHandler. Iconic team effort. 🫢

This software is copyright (c) 2017 by Gerda Shank.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. So yes, free software, same terms as Perl 5, exactly as stated. 🌈


Okay bestie, sign-off time πŸŽ€: this page (HTML::...aryKey(3pm)) is from perl v5.34.0, dated 2022-03-25, and it's part of the User Contributed Perl Documentation. Byeee, go slay your repeatable fields πŸ’…βœ¨

πŸ“¦ where this page comes from