Re: [SQLObject] Patch for Postgres _fromDatabase support
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ian B. <ia...@co...> - 2003-04-19 00:04:42
|
Seems to work. It's applied to CVS. On Fri, 2003-04-18 at 07:44, David M. Cook wrote: > Here's a first try at adding _fromDatabase support for the Postgres > connection: > > http://members.cox.net/davecook/pythonstuff/PG_fromDatabase.patch > > One thing that makes me a little nervous is the use of eval to get the > default from the string representation returned by Postgres. I think it's > safe in this context, but I'm still wary of eval. > > I also added guessClass as a method to the class. I left datetime in there > for now. Postgres doesn't have a datetime type AFAIK (but does have date > and time). > > Dave Cook > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > sqlobject-discuss mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss |