Closed mche closed 7 years ago
I try to extend and expand Mojo::Pg by use Mojo::Base 'Mojo::Pg;. And I try also extend Mojo::Pg::Database and Mojo::Pg::Results.
use Mojo::Base 'Mojo::Pg;
$pg->db
$db->query
At moment classnames Mojo::Pg::Database and Mojo::Pg::Results has hard coded places.
Here my patching
Also, the Mojo::SQLite did made dirty copy/paste of your module code. He couldn't inheritance.
Thanks, the feature has been added.
have a nice
Steps to reproduce the behavior
I try to extend and expand Mojo::Pg by
use Mojo::Base 'Mojo::Pg;
. And I try also extend Mojo::Pg::Database and Mojo::Pg::Results.Expected behavior
$pg->db
will produce my inherit database class object.$db->query
will produce my inherit result class object for blocking query.Actual behavior
At moment classnames Mojo::Pg::Database and Mojo::Pg::Results has hard coded places.
Here my patching