Date: Wed, 21 Jan 2004 04:43:33 +0900
From: Ferenc Engard <
[email protected]>
Newsgroups: comp.lang.ruby
Subject: DBI improvement
Hello,
I think all the DBI type classes (DBI::Timestamp etc.) should support
the <=> operator. Lacking this makes life heavy; implementing them would
be easy.
how about special timestamps? for example, postgresql supports
'-infinity' < all_other_times < 'infinity'
and
'epoch' == '1970-01-01 00:00:00'
things like this get tricky.
--
ATTN: please update your address books with address below!
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
| STP ::
http://www.ngdc.noaa.gov/stp/
| NGDC ::
http://www.ngdc.noaa.gov/
| NESDIS ::
http://www.nesdis.noaa.gov/
| NOAA ::
http://www.noaa.gov/
| US DOC ::
http://www.commerce.gov/
|
| The difference between art and science is that science is what we
| understand well enough to explain to a computer.
| Art is everything else.
| -- Donald Knuth, "Discover"
|
| /bin/sh -c 'for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done'
===============================================================================