If you just need "moosefied" declaration syntax, then look DBIx::Class::Candy secondary API https://metacpan.org/pod/DBIx::Class::Candy#SECONDARY-API
On 14 October 2015 at 21:10, Robert Rothenberg <rob...@gmail.com> wrote: > Hi All, > > Is there a way to declare Result and ResultSet classes using Moo? > Specifically, I'm looking for something that provides functions for > declaring columns, e.g. > > has_column id => ( > isa => Int, > autoincrement => 1, > ); > > I'm aware of DBIx::Class::MooseColumns, but that uses Moose. > > Thanks, > Rob > > _______________________________________________ > List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class > IRC: irc.perl.org#dbix-class > SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ > Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk -- //wbr, Dmitry L. _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk