[orm-devel] What do you think should go into 1.0?

Diedrich Vorberg orm-devel@mailman.tux4web.de
Mon, 13 Jan 2003 15:18:54 +0100


Hi Eric,

>I forgot to mention that I have a PostgreSQL view with an "interval" 
>data type:

I've added a orm.adapters.pgsql.columns.interval and intervalColumn 
class that will (as psycopg does) convert INTERVAL columns to
mx.DateTime.DateTimeDelta instances and back. This should save you 
some parsing...

As usual I've only done a basic sanity test (test_interval.py in the 
example directory), so use with caution. Do not hesitate to report 
trouble, of course!

The changes are in the CVS.

Diedrich

-- 
           _..._                            Diedrich Vorberg
         .'     '.
        /  _   _  \                         http://www.tux4web.de
        | (o)_(o) |                         info@tux4web.de
         \(     ) /            .---.
         //'._.'\ \           /     \       Internet Dienstleistungen
        //   .   \ \          \.@-@./       und 'Consulting'.
       ||   .     \ \         /`\_/`\
       |\   :     / |        //  _  \\      Linux Rules!
       \ `) '   (`  /_      | \     )|_
     _)``".____,.'"` (_    /`\_`>  <_/ \
     )     )'--'(     (    \__/'---'\__/
      '---`      `---`