db.get_records and db.get_record return different data types
Bug #905913 reported by
Sasa Stamenkovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
New
|
Undecided
|
Unassigned |
Bug Description
I created a code spippet to reproduce this behaviour https:/
From this example we can see that there is significant difference in datatypes returned from this 2 methods.
Special attention on dictionary attribute of the record saved, which is returned as {} from get_records, but as desktopcouch.
Why this behaviour, is this a bug? If not, how to save this RecordDict back to db with db.update_fields(), because it throws ''Document' object has no attribute 'read'' error when I try.
description: | updated |
To post a comment you must log in.