Hello John, using the same setup I already posted:
my %rose = (object_class => 'Product', require_objects => [qw(prices)], with_objects => [qw()], clauses => [], query => [], ); print Dumper($rose{clauses}); my $count = Rose::DB::Object::Manager->get_objects_count(%rose); print Dumper($rose{clauses}); gives: $VAR1 = []; $VAR1 = [ 't1.id = t2.product_id' ];So, RDBO::Manager->get_objects() changes the given empty arrayref. I see it as a bug, but you can also document it as "DON'T DO THIS".
I see it as low priority, the other two things are IMHO more important. A few things for the tutorial:Please include either in the tutorial or in an extra example as much database constructs as possible (relationships, null values, different column types...), so that we can use the tutorial db and classes for bug reports or feature requests.
Also this tutorial/example could be used for a unified testsuite which runs on all supported databases. You would run it under Pg, mine would run under MySQL. I will write test cases then, too. And it would help me for SQLite support, too.
Btw. shall I report bugs (or what I think are bugs) in the mailing list or shall I open a ticket in SourceForge?
Bye, Uwe
args-change.pl
Description: Perl program