DateRange with mx.Date

Поиск
Список
Период
Сортировка
От Tilman Koschnick
Тема DateRange with mx.Date
Дата
Msg-id 1435230490.6368.7.camel@mother.subnetz.org
обсуждение исходный текст
Ответы Re: DateRange with mx.Date  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Список psycopg
Hi,

is there a way to adapt extras.DateRange to use extensions.MXDATE as a
typecaster and accept/return mx.Date values directly?

From the documentation, I couldn't make out how to do this using
register_range(). I do not want to create a new range type within the
database, just change the python type returned.

Kind regards, Til



В списке psycopg по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Psycopg 2.6.1 released
Следующее
От: Daniele Varrazzo
Дата:
Сообщение: Re: DateRange with mx.Date