Skip to content

About

ORM::ActiveRecord is an object-relational mapping module for Raku

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

ORM::ActiveRecord

ORM::ActiveRecord is an object-relational mapping module for Raku that follows the Active Record Pattern.

Documentation

https://keayl.dev/docs/ORM-ActiveRecord

Install using zef

zef install --/test ORM::ActiveRecord

--/test is suggested because you probably don't have a test database setup.

Simple Example

my $user = User.create({fname => 'Greg'});
my $page = Page.create({:$user, name => 'Rakuist'});

say $user.pages.first.name;
Rakuist

say $page.user.fname;
Greg

my $alfred = User.create({fname => 'Fred'});
$page.update({user => $fred});

say $page.user.fname;
Fred

Please see the documentation for more examples.

Build Status

.github/workflows/raku.yml

License

Copyright (c) 2017-2026 Greg Donald

This software is licensed under the Artistic License 2.0.

GitHub

About

ORM::ActiveRecord is an object-relational mapping module for Raku

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages