in reply to ORM for new native Perl Object System

While I'm not fond of ORMs, as they usually get in the way of me writing SQL, I think you can make DBIx::Class return (row) objects of your own class whatever it is based on via DBIx::Class::ResultSet->result_class. But that won't make DBIx::Class based on the new class objects.

If you want to generate classes for an existing schema, I would look at adding a corresponding template to SQL::Translator.

Replies are listed 'Best First'.
Re^2: ORM for new native Perl Object System
by Galdor (Sexton) on Dec 16, 2025 at 10:14 UTC
    Ye - I prefer to start with SQL DB schema and expand from there. ok - I do not know anything about SQL::Tranlator - I guess DBIC is build on it - but I will take a look. But this Perl class will need some sort of DB persistence to be o any use.