DBIx::C...:Cursor(3)

πŸ’… NAME πŸ’…

DBIx::Class::Storage::DBI::SQLAnywhere::Cursor</p> β€” okay bestie, say that five times fast 😭 literally the GUID Support for SQL Anywhere over DBD::SQLAnywhere situation, and yes the full name is a whole mouthful, we don't make the rules πŸ’€


✨ DESCRIPTION ✨

So this class exists for exactly one (1) iconic job: normalizing GUIDs that come back from SQL Anywhere via DBD::SQLAnywhere. That's it, that's the whole vibe πŸŽ€

ngl you probably don't want to be here 🫢 like genuinely β€” if you're looking for actual info on the SQL Anywhere driver, go read DBIx::Class::Storage::DBI::SQLAnywhere instead, that's your main character.

Here's the tea though πŸ™ˆ unfortunately when you're using DBD::SQLAnywhere, GUIDs come back in binary, which is lowkey giving unreadable chaos. So the entire purpose of this class is to transform them into text ✨ problem solved, slay.

And it's automatic, no cap β€” DBIx::Class::Storage::DBI::SQLAnywhere sets cursor_class to this class by default. But you're not locked in, it's overridable via your connect_info πŸ’– so do your thing.

Also!! Good news for the DBIx::Class::Cursor::Cached girlies πŸ¦‹ you can use it safely with this class and not lose the GUID normalizing functionality β€” because ::Cursor::Cached uses the underlying class data for the inner cursor class. Best of both worlds, we love to see it πŸ‘‘


🌸 FURTHER QUESTIONS? 🌸

Check the list of additional DBIC resources. That's it, go look, iykyk πŸ“š


This module is free software copyright by the DBIx::Class (DBIC) authors 🫢 You can redistribute it and/or modify it under the same terms as the DBIx::Class library. Periodt πŸ’…


and that's the whole page bestie!! brought to you by perl v5.42.0, dated 2025-01-22 βœ¨πŸ§šπŸ’œ

πŸ“¦ where this page comes from