[DB-SIG] WHat's the status of DB modules and datetime.py supp ort?

Kevin Jacobs jacobs at penguin.theopalgroup.com
Mon Jan 12 12:16:32 EST 2004


On Mon, 12 Jan 2004, Federico Di Gregorio wrote:

> Il lun, 2004-01-12 alle 11:24, Jon Franz ha scritto:
> [ßnip]
> > PS: another small suggestion.  I think it would be useful for the API to
> > define required constants for the modules to expose, namely for the
> > different fields in description and their indexes.  It seems trivial, and
> > is,
> > but I imagine it would be useful for many people to avoid opening the
> > PEP every time they needed the index for a field in .description.
> 
> still thinking about the mappings suggestion. but this is, imho, a nice
> addition. i _always_ forget the right index into the description
> sequence and having the indices as constants in the module would be a
> nice addition.

I have an adapter that uses my db_row product to represent .descriptions in
a way where fields can be accessed by name.

-Kevin




More information about the DB-SIG mailing list