[RDBO] Candidate for RDBO?

2008-01-30 Thread Fred Cox
I've got a Postgresql DBI select: SELECT COUNT(*) AS voters, SUM(liked) AS liked, SUM(liked) / CAST( COUNT(*) AS real ) AS ratio FROM review_votes WHERE reviewid=? that works well, but I wasn't sure whether it would be practical to try to do this with RDBO. I know the query builder works well,

Re: [RDBO] Sharing a DBI connection with Class::DBI

2008-01-30 Thread Sam Tregar
On Jan 29, 2008 10:32 PM, John Siracusa <[EMAIL PROTECTED]> wrote: > On 1/29/08, Sam Tregar <[EMAIL PROTECTED]> wrote: > > Do you happen to know if RDBO will tolerate a > > DBIx::ContextualFetch based DBI handle? > It should, and if it doesn't, I can probably make it do so with some > minor edits.

[RDBO] ANNOUNCE: Rose::DB::Object 0.7662 released

2008-01-30 Thread John Siracusa
On Jan 29, 2008 9:25 PM, John Siracusa <[EMAIL PROTECTED]> wrote: > On Jan 29, 2008 5:28 PM, Justin Ellison <[EMAIL PROTECTED]> wrote: > > Not really a bug, but aren't you now burning extra CPU cycles on line > > 166 of RDBO::Cached? As far as I can tell, removing the line doesn't > > change the l