Roman Right
Roman Right
BSON encoder is slow. And it is hard to follow the logic. It should be refactored.
Custom MongoDB-specific fields: - Geo object - Set[] ...
Add Beanie
## What is this Python project? Beanie is an Asynchronous ODM for MongoDB. It is based on Motor and Pydantic. The project page with a quick-start example: https://github.com/roman-right/beanie The documentation...
## Syncing from the Database If you wish to apply changes from the database to the document, utilize the [sync](../api-documentation/document.md/#documentsync) method: ```python await bar.sync() ``` Two merging strategies are available:...
### Discussed in https://github.com/roman-right/beanie/discussions/514 Originally posted by **slavovthinks** March 25, 2023 Hey, folks 👋 Here is a Timestamp Mixin I've created for Beanie Documents. I'm wondering should I create a...
### Discussed in https://github.com/roman-right/beanie/discussions/637 Originally posted by **hudrazine** August 4, 2023 If you define `Indexed` as a type hint for a field, the type checker will complain : ```python class...
### Discussed in https://github.com/roman-right/beanie/discussions/529 Originally posted by **Phobos-Programmer** April 5, 2023 Unfortunately, there is no any information in https://beanie-odm.dev/ about transaction and how to use them with beanie. Please add...
GridFs
### Discussed in https://github.com/roman-right/beanie/discussions/544 Originally posted by **opaniagu** April 18, 2023 File or Image type for save and retrieve Files/Images on database or as GridFS?
### Discussed in https://github.com/roman-right/beanie/discussions/652 Originally posted by **tomohirohiratsuka** August 10, 2023 Hi, I'm wondering this is expected behavior or not. When I update document with `update` method, it returns updated...