django-sql-utils icon indicating copy to clipboard operation
django-sql-utils copied to clipboard

SQL utilities for Django

Results 8 django-sql-utils issues
Sort by recently updated
recently updated
newest added

See https://github.com/martsberger/django-sql-utils/blob/88cf3a6ea513aacebd5bec616599938e77fd8e0a/sql_util/aggregates.py#L161-L168 This makes the `ordering` argument in [`ArrayAgg`](https://github.com/django/django/blob/335c9c94acf263901fb023404408880245b0c4b4/django/contrib/postgres/aggregates/general.py#L13) impossible to use. Ditto for any custom `Aggregation` a user may want to write

Added a badge to pypi

When used to annotate a `PolymorphicQuerySet` from [django-polymorphic](https://github.com/django-polymorphic/django-polymorphic), this error is raised: ``` 'NoneType' object has no attribute 'query' in django/db/models/expressions.py in get_source_expressions at line 1051 def get_source_expressions(self): return [...

``` >>> ex = Exists("x", filter=Q(y=42)) >>> ex.filter >>> (~ex).filter ```

Hi, this library looks very nice. I have a question about the last example: ``` Parent.objects.annotate(avg_child_age=SubqueryArrayAgg('child__age')) ``` Is there a typo here? I don't understand how this would compute the...

- Updates test matrix to target supported versions of Django (4.2-5.1) and Python (3.9-3.13) - Run GitHub tests on all PRs - Update GitHub actions to resolve deprecation warnings -...

The [codecov](https://github.com/codecov/codecov-python) library used in the GitHub workflows is deprecated and should be replaced with either `codecov-cli` or the [GitHub action](https://github.com/marketplace/actions/codecov).

Installing 0.7.0 via pip fails with the message: ``` ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: https://hatch.pypa.io/latest/plugins/builder/wheel/#default-file-selection The most likely cause of...