Why not create another result class for the different table?
The overlapping methods can be put in a base class or a role used by both.
Am 2011-05-17 17:14, schrieb Bill Moseley:
On Tue, May 17, 2011 at 7:43 AM, Peter Edwards
pe...@dragonstaff.co.ukmailto:pe...@dragonstaff.co.uk wrote:
Can
On Wed, May 18, 2011 at 2:11 AM, Alexander Hartmaier
alexander.hartma...@t-systems.at wrote:
Why not create another result class for the different table?
The overlapping methods can be put in a base class or a role used by both.
That's exactly what I'm doing. I've got two schemas and
On Mon, May 16, 2011 at 10:31 PM, Octavian Rasnita orasn...@gmail.comwrote:
*From:* Bill Moseley mose...@hank.org
I have two databases that are very similar. For example, the person
table in one db has an email column and the other does not have that
column, otherwise the tables are the
On 17 May 2011 15:22, Bill Moseley mose...@hank.org wrote:
I have two databases that are very similar. For example, the person
table in one db has an email column and the other does not have that
column, otherwise the tables are the same.
...
My question is what can I do to make
On Tue, May 17, 2011 at 7:43 AM, Peter Edwards pe...@dragonstaff.co.ukwrote:
Can you say
my $search_attr = {
'+columns' = [ { 'email' = \'' } ], # and so on for other missing
fields
};
then
my $rs = $schema-search_rs( $query, $search_attr );
Hi Peter,
Maybe I'm not understanding
I have two databases that are very similar. For example, the person table
in one db has an email column and the other does not have that column,
otherwise the tables are the same.
My application uses the schema with the table that has the email column,
so there's places in the application that
From: Bill Moseley
I have two databases that are very similar. For example, the person table
in one db has an email column and the other does not have that column,
otherwise the tables are the same.
My application uses the schema with the table that has the email column, so
there's