Terrence Brannon wrote: >Yes, I would determine that aribtrary 1 second or nanosecond based on >the data in my database tables. a MySQL BETWEEN clause includes its >endpoints.
BETWEEN, then, is not the right way to express an open or half-open interval. If you're going to add anything to DT::Span, add a method that generates the correct SQL expression, taking account of the openness of each end of the interval. -zefram