"_id" key not accessible from Record object
Bug #501168 reported by
Ryan Paul
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Confirmed
|
Low
|
Ubuntu One Client Engineering team |
Bug Description
The __getitem__ method of desktopcouch.
Changed in desktopcouch: | |
assignee: | nobody → John Lenton (chipaca) |
Changed in desktopcouch: | |
importance: | Undecided → Low |
Changed in desktopcouch: | |
assignee: | John Lenton (chipaca) → Ubuntu One Desktop+ team (ubuntuone-desktop+) |
tags: | added: couchdb desktop+ |
tags: |
added: desktopcouch removed: couchdb |
Changed in desktopcouch: | |
status: | New → Confirmed |
To post a comment you must log in.
Yeah, db.get_record() gets one of our Record, but get_records() is a lazy iter of Row objects.
I suppose I could make a iter-consumer, and provider that wraps the Row with the same interface as Record, namely .record_id and .record_type. How does that sound?