Re: little_pger.py (a thin layer a tad above SQL and psycopg2)

Поиск
Список
Период
Сортировка
От Rory Campbell-Lange
Тема Re: little_pger.py (a thin layer a tad above SQL and psycopg2)
Дата
Msg-id 20121219165318.GB15230@campbell-lange.net
обсуждение исходный текст
Ответ на Re: little_pger.py (a thin layer a tad above SQL and psycopg2)  ("A.M." <agentm@themactionfaction.com>)
Ответы Re: little_pger.py (a thin layer a tad above SQL and psycopg2)  ("A.M." <agentm@themactionfaction.com>)
Список psycopg
On 19/12/12, A.M. (agentm@themactionfaction.com) wrote:
> ...I, too, have been looking for something lightweight and quick which
> would allow nearly-automatic JSON generation from database rows. The
> trickier part is recursing a model attribute tree which always leads
> me back to SQLAlchemy.

Since psycopg can return namedtuples and simplejson serialises
namedtuples, this should not be a difficult thing to do.

Rory


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

Предыдущее
От: "A.M."
Дата:
Сообщение: Re: little_pger.py (a thin layer a tad above SQL and psycopg2)
Следующее
От: "A.M."
Дата:
Сообщение: Re: little_pger.py (a thin layer a tad above SQL and psycopg2)