sqlobjects 1.9.0__tar.gz → 1.9.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/CHANGELOG.md +6 -0
- {sqlobjects-1.9.0/sqlobjects.egg-info → sqlobjects-1.9.1}/PKG-INFO +1 -1
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/pyproject.toml +1 -1
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/queries/builder.py +3 -3
- {sqlobjects-1.9.0 → sqlobjects-1.9.1/sqlobjects.egg-info}/PKG-INFO +1 -1
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/LICENSE +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/README.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/01-database-session-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/02-model-definition-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/03-query-operations-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/04-crud-operations-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/05-relationships-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/06-validation-signals-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/07-performance-guide.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/docs/rules/README.md +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/setup.cfg +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/_install_rules.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/cascade.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/contrib/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/contrib/asgi.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/contrib/fastapi.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/database/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/database/config.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/database/manager.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/exceptions.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/aggregate.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/base.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/cte.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/explain.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/function.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/mixins.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/scalar.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/subquery.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/terminal.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/expressions/window.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/core.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/functions.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/proxies.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/descriptors.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/managers.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/prefetch.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/strategies.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/relations/utils.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/shortcuts.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/types/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/types/base.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/types/comparators.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/types/registry.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/fields/utils.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/internal/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/internal/operations.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/internal/results.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/metadata.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/mixins.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/model.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/objects/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/objects/bulk.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/objects/core.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/objects/upsert.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/queries/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/queries/dialect.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/queries/executor.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/queryset.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/session.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/signals.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/sql_logging.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/utils/__init__.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/utils/inspect.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/utils/naming.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/utils/pattern.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects/validators.py +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects.egg-info/SOURCES.txt +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects.egg-info/dependency_links.txt +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects.egg-info/entry_points.txt +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects.egg-info/requires.txt +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/sqlobjects.egg-info/top_level.txt +0 -0
- {sqlobjects-1.9.0 → sqlobjects-1.9.1}/tests/test_config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlobjects
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.1
|
|
4
4
|
Summary: Django-style async ORM library based on SQLAlchemy with chainable queries, Q objects, and relationship loading
|
|
5
5
|
Author-email: XtraVisions <gitadmin@xtravisions.com>, Chen Hao <chenhao@xtravisions.com>
|
|
6
6
|
Maintainer-email: XtraVisions <gitadmin@xtravisions.com>, Chen Hao <chenhao@xtravisions.com>
|
|
@@ -70,16 +70,16 @@ class QueryBuilder:
|
|
|
70
70
|
return new_builder
|
|
71
71
|
|
|
72
72
|
def add_ordering(self, *fields):
|
|
73
|
-
"""
|
|
73
|
+
"""Set ORDER BY fields for the query, replacing any existing ordering.
|
|
74
74
|
|
|
75
75
|
Args:
|
|
76
76
|
*fields: Field names or SQLAlchemy ordering expressions
|
|
77
77
|
|
|
78
78
|
Returns:
|
|
79
|
-
New QueryBuilder instance with
|
|
79
|
+
New QueryBuilder instance with replaced ordering
|
|
80
80
|
"""
|
|
81
81
|
new_builder = self.copy()
|
|
82
|
-
new_builder.ordering
|
|
82
|
+
new_builder.ordering = list(fields)
|
|
83
83
|
return new_builder
|
|
84
84
|
|
|
85
85
|
def add_limit(self, count: int):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlobjects
|
|
3
|
-
Version: 1.9.
|
|
3
|
+
Version: 1.9.1
|
|
4
4
|
Summary: Django-style async ORM library based on SQLAlchemy with chainable queries, Q objects, and relationship loading
|
|
5
5
|
Author-email: XtraVisions <gitadmin@xtravisions.com>, Chen Hao <chenhao@xtravisions.com>
|
|
6
6
|
Maintainer-email: XtraVisions <gitadmin@xtravisions.com>, Chen Hao <chenhao@xtravisions.com>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|