can we store the DBIx::Class into cache system?

3 messages Options
Embed this post
Permalink
Mike.G

can we store the DBIx::Class into cache system?

Reply Threaded More More options
Print post
Permalink
Hi, all, I have a question about the how to save the DBIx::Class object into
cache system, example: we use CHI,   my question is: just save DBIx::Class into Cache system like other
data type? I mean just like array, hash, scalar? don't need do other things?

so,  the DBIx::Class will be lost database connection and lost data?

thanks

Mike.G


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
fREW Schmidt

Re: can we store the DBIx::Class into cache system?

Reply Threaded More More options
Print post
Permalink

It would probably be better to ask about this on the CHI mailing list.

On Jul 24, 2009 2:26 AM, "Mike.G" <[hidden email]> wrote:

Hi, all, I have a question about the how to save the DBIx::Class object into
cache system, example: we use CHI,   my question is: just save DBIx::Class into Cache system like other
data type? I mean just like array, hash, scalar? don't need do other things?

so,  the DBIx::Class will be lost database connection and lost data?

thanks

Mike.G


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...
Rob Kinyon

Re: can we store the DBIx::Class into cache system?

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mike.G
On Fri, Jul 24, 2009 at 03:22, Mike.G<[hidden email]> wrote:
> Hi, all, I have a question about the how to save the DBIx::Class object into
> cache system, example: we use CHI,   my question is: just save DBIx::Class
> into Cache system like other
> data type? I mean just like array, hash, scalar? don't need do other things?
>
> so,  the DBIx::Class will be lost database connection and lost data?

FYI - most cache systems don't deal with with caching a $dbh.

Rob

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@...