On 4/10/06, Kjell Arne Arvesen <[EMAIL PROTECTED]> wrote:
> As I use the Catalyst framework and totally fell in love with it, I use
> a DBIC::Schema class for Catalyst that looks like the following:
>
> Here is my Catalyst::Model::DBIC::Schema inherited class:
>
> __PACKAGE__->config(
> schema_
Matt S Trout wrote:
>Kjell Arne Arvesen wrote:
>
>
>>Matt S Trout wrote:
>>
>>I've even tried to do a $user->email("doh") and then call the update
>>method. Still nothing happens.
>>
>>
>
>Define "nothing happens" :)
>
>
>If you turn on debugging in Storage::DBI you should at least see th
Kjell Arne Arvesen wrote:
> Matt S Trout wrote:
>
> I've even tried to do a $user->email("doh") and then call the update
> method. Still nothing happens.
Define "nothing happens" :)
If you turn on debugging in Storage::DBI you should at least see the UPDATE
being issued.
My next thought is th
Matt S Trout wrote:
>Kjell Arne Arvesen wrote:
>
>
>>Hiya.
>>
>>I've created an instance of DBIx::Class::ResultSet for a table class
>>called user where I have the following method:
>>
>>Example:
>>sub update_email {
>>...
>>my $rs = $self->search({...}); # This returns a proper results
Kjell Arne Arvesen wrote:
> Hiya.
>
> I've created an instance of DBIx::Class::ResultSet for a table class
> called user where I have the following method:
>
> Example:
> sub update_email {
> ...
> my $rs = $self->search({...}); # This returns a proper resultset
> my @users = $rs->al
Hiya.
I've created an instance of DBIx::Class::ResultSet for a table class
called user where I have the following method:
Example:
sub update_email {
...
my $rs = $self->search({...}); # This returns a proper resultset
my @users = $rs->all; #Returns an array containing all the data f