Nqlstore

Latest version: v0.1.6

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.6

Changed

- Automatically convert 'id' references in mongo queries to '_id' ObjectId equivalents

Fixed

- Fixed 'AttributeError: 'FieldInfo' object has no attribute 'disable_on_mongo' when field is declared without `Field()` function

0.1.5

Added

- Added [todos](./examples/todos) example application

Changed

- Replaced the second required argument of `MongoStore.find()`,
`MongoStore.update()`, `MongoStore.delete()`with their first optional
key-word argument `query`.
- Changed the `limit` parameter of the `MongoStore.find()` to be by default 0.
- Removed the `Beanie-odm`-specific arguments passed to `MongoStore.insert()`,
`MongoStore.find()`, `MongoStore.update()`, `MongoStore.delete()`.

Fixed

- Fixed error: "got Future <Future pending> attached to a different loop" when
`MongoStore.insert()`, `MongoStore.find()`, `MongoStore.update()`, `MongoStore.delete()`
are called especially during tests that create different event loops.
- Fixed `SQLStore.delete()` to return any nested items that were deleted.
- Fixed error: "got Future <Future pending> attached to a different loop" when
`RedisStore.insert()`, `RedisStore.find()`, `RedisStore.update()`, `RedisStore.delete()`
are called especially during tests that create different event loops.

0.1.4

Fixed

- Enabled recursive serialization of child SQL models when `model_dump()` is called.

0.1.3

Added

- Added ability to insert children of parent models as though they were embedded in the parent
in SQL the SQL implementation. (This makes it possible to simulate embeddedness)
- Added ability to replace children of SQL parent models when updating the parent

0.1.2

Added

- Added an `id` field to the Redis models to shadow the `pk` field

Changed

- Changed the module name of the Model classes created to equal the module they are called from

Fixed

- Fixed types for the `embedded_models` parameter of the `MongoModel()` and `EmbeddedModel()` functions

0.1.1

Changed

- Improved the type annotations of the created models to show both Schema
and db-specific model classes like "Document"

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.