Alzabo...:Cursor(3pm)

πŸ“¦
version 0.92 Β· 2 versions
  • 0.92 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 0.92 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Alzabo::Runtime::Cursor β€” the perl manual page, but make it cute πŸ’–

okay bestie, so you're looking at Alzabo::Runtime::Cursor(3pm), which is a perl thing, and honestly? it's giving base class energy. like, it's the parent. the blueprint. the vibe-setter for all the actual cursors out there. πŸ¦‹


✨ NAME ✨

Alzabo::Runtime::Cursor β€” the base class for Alzabo cursors. that's it. that's the name. iconic. πŸ’…


🌸 SYNOPSIS 🌸

use Alzabo::Runtime::Cursor;

just. you know. pull it in. say hi. πŸ’œ


πŸŽ€ DESCRIPTION πŸŽ€

so this is the base class for cursors, periodt. it's the ancestor, the blueprint, the "everyone else inherits from me" queen. it doesn't do the whole job itself β€” that's for its subclasses β€” it just sets the vibe. πŸ‘‘


⭐ METHODS ⭐

🌈 new

Virtual method. yes bestie, virtual β€” it's a placeholder, a suggestion, a "your subclass handles this" kind of situation. don't come for it, it's doing its best. πŸ™ˆ

🌈 all_rows

Virtual method. same deal. virtual. meaning the real implementation lives somewhere else, down in the subclass. πŸ’«

🌈 reset

resets the cursor so that the next next call will return the first row of the set. so like, it rewinds you. back to the beginning. the first row. the beginning. πŸ”₯

🌈 count

Returns the number of rows returned by the cursor so far. not the total. not the future. just so far. lowkey a snapshot of your journey. ✨

🌈 next_as_hash

Returns the next row or rows in a hash, where the hash key is the table name and the hash value is the row object. cute little hash. table name β†’ row object. that's the shape. πŸ“


πŸ’– AUTHOR πŸ’–

Dave Rolsky, <autarch@urth.org> 🫢


and that's the whole page, bestie. every option, every method, every crumb. no notes. πŸ’…

okay so this page is from Alzabo...:Cursor(3pm), the User Contributed Perl Documentation, generated from perl v5.34.0 and dated 2022-06-14 β€” shoutout to the perl version and the date, they did that. πŸŽ€βœ¨ byeee πŸ’œ

πŸ“¦ where this page comes from