[Nitro] [PATCH] og-aggregate-type-casting

Bryan Soto bryan.a.soto at gmail.com
Mon Apr 17 01:34:23 EDT 2006

On 4/16/06, Lars Olsson <lasso at lassoweb.nu> wrote:
> Hi,
> The sqlite-ruby libs already supports automatic type translation by
> themselves. Just use:
> <code>
> dbname.type_translation = true
> </code>
> before querying.

That's actually quite good to know. I'm not very familiar with Sqlite. :)

> Shouldn't Og use the existing functionality instead?

After a refactoring, perhaps. This particular bug affected only the
aggregating methods and hit all the stores. My "hack" has the benefit
of working for all. After a refactoring, hopefully it can be used as a
last resort. :)

"Never tell people how to do things. Tell them what to do and they
will surprise you with their ingenuity." —General George S. Patton

More information about the Nitro-general mailing list