Ticket #10 (enhancement)
Opened 7 years ago
Last modified 6 years ago
Write a field-mapping helper for storage.db
Status: closed (wontfix)
| Reported by: | fumanchu | Assigned to: | fumanchu |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Storage | Keywords: | |
| Cc: | Estimate (total hours): | 4 | |
Something that allows the developer to make a dict that maps Dejavu UnitProperty? names to database field names.
Attachments
Change History
12/08/05 05:22:31: Modified by mdt@emdete.de
- attachment mixedToUnder.py added.
12/08/05 05:23:29: Modified by mdt@emdete.de
i use the atached code (parts stolen from sqlobject). which works fine. the prefixing must go into the identifier method for that to work if you like prefixes like xy_ and have upper and lowercase identifier.
12/11/05 15:44:11: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to wontfix.
This is easy enough to do now with the new column_name and table_name methods that I don't think we need one in the distro. I'll put up a MappedColumns recipe on the wiki.

mixed python identlifier to underscore identifier