bump version
This commit is contained in:
@ -21,7 +21,12 @@
|
||||
</p>
|
||||
|
||||
The `ormar` package is an async ORM for Python, with support for Postgres,
|
||||
MySQL, and SQLite. Ormar is built with:
|
||||
MySQL, and SQLite.
|
||||
|
||||
Ormar - apart form obvious ORM in name - get it's name from ormar in swedish which means snakes, and ormar(e) in italian which means cabinet.
|
||||
And what's a better name for python ORM than snakes cabinet :)
|
||||
|
||||
Ormar is built with:
|
||||
|
||||
* [`SQLAlchemy core`][sqlalchemy-core] for query building.
|
||||
* [`databases`][databases] for cross-database async support.
|
||||
|
||||
@ -15,7 +15,7 @@ from ormar.fields import (
|
||||
)
|
||||
from ormar.models import Model
|
||||
|
||||
__version__ = "0.2.1"
|
||||
__version__ = "0.2.2"
|
||||
__all__ = [
|
||||
"Integer",
|
||||
"BigInteger",
|
||||
|
||||
@ -167,8 +167,6 @@ class QuerySet:
|
||||
del new_kwargs[pkname]
|
||||
|
||||
new_kwargs = self.model_cls.substitute_models_with_pks(new_kwargs)
|
||||
|
||||
# Build the insert expression.
|
||||
expr = self.table.insert()
|
||||
expr = expr.values(**new_kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user