Xavier Robin wrote:
On Thursday 23 November 2006 17:23, Ash Berlin wrote:
First wrong list - you want dbix-class
Oops, sorry, I didn't know there was a dbix-clas list. Where can I find it?
http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class.pm#DESCRIPTION
The community can be found via:
http://lists.rawmode.org/mailman/listinfo/dbix-class/
-Original Message-
From: Xavier Robin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 24, 2006 09:38
To: The elegant MVC web framework
Subject: Re: [Catalyst] Null values in DBIx::Class
On Thursday 23 November 2006 17:23, Ash
On Thursday 23 November 2006 17:23, Ash Berlin wrote:
> First wrong list - you want dbix-class
Oops, sorry, I didn't know there was a dbix-clas list. Where can I find it?
> The answer two your problems: undef
Thanks, I'll look at this more carefully if it is the answer (I don't know why
it does
> I have set up MYAPPDB::TestTable with the unique key
test_table_column2.
> Now in my controller I do that:
>
> $->model(MYAPPDB::TestTable)->update_or_create({
>'column1' => $value1,
>'column2' => $value2
> }, {key => 'test_table_column2'}
> );
Do this:
$->model(MYAPPDB::TestTable)->u
Xavier Robin wrote:
Hello,
I have the following table defined in a PostgreSQL database:
CREATE TABLE test_table (
id SERIAL PRIMARY KEY,
column1 INTEGER REFERENCES test_table2,
column2 INTEGER UNIQUE NOT NULL REFERENCES test_table3
);
I have set up MYAPPDB::TestTable with the unique
Hello,
I have the following table defined in a PostgreSQL database:
CREATE TABLE test_table (
id SERIAL PRIMARY KEY,
column1 INTEGER REFERENCES test_table2,
column2 INTEGER UNIQUE NOT NULL REFERENCES test_table3
);
I have set up MYAPPDB::TestTable with the unique key test_table_column