Can I define a DBIx::Class::ResultSource::View after connecting? Can I define a DBIx::Class::ResultSource::View after connecting? postgresql postgresql

Can I define a DBIx::Class::ResultSource::View after connecting?


You could exclude the view from deployment, add the ddl sql in your schema class depending on the database you're connected to and not define it as a virtual view in which case the sql in the result class isn't used for anything.