Well actually i figured out how to do that . Its not that complicated. Only thing is RoseDB objects expect an array reference for a query. So something like this works :
my @query = ( id => $id, name => $name );
testDB::testTable::Manager->get_testTable( query => \@query );
Just thought would answer it myself, incase someonelse is looking for a solution to this