In my Mongodb, there are 4 columns in a collection. And in the umongo Document defination, I only want to 2 fields (the first two columns in mongo), and an UnknownFieldInDBError: would be raised in the runtime. If there any way that can solve this problem?
In my Mongodb, there are 4 columns in a collection. And in the umongo Document defination, I only want to 2 fields (the first two columns in mongo), and an
UnknownFieldInDBError:
would be raised in the runtime. If there any way that can solve this problem?