| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Database.command() falls back to DEFAULT_CODEC_OPTIONS when codec_options is
omitted, so options configured on the client were ignored on every read. Most
visibly, uuidRepresentation had no effect: BSON UUID fields were decoded as raw
bson.Binary instead of uuid.UUID no matter what the connection string asked for,
because reads go through db.command({'find': ...}) rather than collection.find().
Pass the database's codec options for both find and getMore, so results decode
consistently with collection.find() and across batches.
|
@msyavuz Thank you for contributing. The PR was merged and it will be included in the next release. |
Sorry, something went wrong.
|
Thank you @passren for taking a look and merging! Any idea when the next release will be cut? |
Sorry, something went wrong.
|
@msyavuz v0.7.3 was released that includes your fix. Thank you! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Database.command() falls back to DEFAULT_CODEC_OPTIONS when codec_options is omitted, so options configured on the client were ignored on every read. Most visibly, uuidRepresentation had no effect: BSON UUID fields were decoded as raw bson.Binary instead of uuid.UUID no matter what the connection string asked for, because reads go through db.command({'find': ...}) rather than collection.find().
Pass the database's codec options for both find and getMore, so results decode consistently with collection.find() and across batches.