It would be nice if I could specify an alternative record factory to Database.get_record
Bug #687273 reported by
James Henstridge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
If I have a database containing records of multiple types, it would be nice if I could use specific classes to represent each type as appropriate.
I guess it would be possible to write a record_factory function that returned different classes based on record_type, but it would be more convenient if I could just tell get_record() what type I wanted.
Changed in desktopcouch: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
To post a comment you must log in.