ur

object/relation mapper library

Install

All systems
curl cmd.cat/ur.sh
Debian Debian
apt-get install libur-perl
Ubuntu
apt-get install libur-perl
image/svg+xml Kali Linux
apt-get install libur-perl
Windows (WSL2)
sudo apt-get update sudo apt-get install libur-perl
Raspbian
apt-get install libur-perl

libur-perl

object/relation mapper library

UR is a class framework and object/relational mapper for Perl. It starts with the familiar Perl meme of the blessed hash reference as the basis for object instances, and extends its capabilities with ORM (object-relational mapping) capabilities, object cache, in-memory transactions, more formal class definitions, metadata, documentation system, iterators, command line tools, etc. UR can handle multiple column primary and foreign keys, SQL joins involving class inheritance and relationships, and does its best to avoid querying the database unless the requested data has not been loaded before. It has support for SQLite, Oracle, MySQL and Postgres databases, and the ability to use a text file as a table. UR uses the same syntax to define non-persistent objects, and supports in-memory transactions for both.