pbav
pbav
The WHERE clause generated is just like`WHERE id IN (...)` `prefetch_related` with the `Prefetch` object works: ``` prefetch_related( Prefetch('field', Model.objects.all()) ) ``` This workaround sometimes helps, but, for example, it...
Having one auto-incremental ID for records belonging to different tenants (located on different shards) is a potential bottleneck for INSERT. A possible solution is to use a UUID or shorter...
Click to expand! ### Issue Type Performance ### Have you reproduced the bug with TF nightly? No ### Source binary ### Tensorflow Version 2.11.0 ### Custom Code Yes ### OS...
```sql ALTER TABLE a ADD COLUMN b INT NULL; ``` ``` [2023-08-11 11:53:30] [XX000] ERROR: unsupported constraint type [2023-08-11 11:53:30] Detail: constraint type: 0 ``` Details: https://github.com/citusdata/citus/issues/7110 Please consider including...
Python 3.10.6 Django 4.0.9 django-multitenant 3.2 ```python def wrap_many_related_manager_add(many_related_manager_add): ... def add(self, *objs, through_defaults=None): ... if hasattr(self.through, "tenant_field") and get_current_tenant(): through_defaults[ get_tenant_column(self.through) ] = get_current_tenant_value() ``` ``` File ".../django/db/models/fields/related_descriptors.py", line...