databases-orm

600 threads · Page 4 of 12

Indexes & Constraints 35 messages
ORM
Indexes on models in 3rd party apps 4 messages
ORM
Looking for tidy code for comparing contents of BaseManager to contents of ManyToManyRelatedManager 25 messages
ORM
update_or_create combined with default values via SQL 14 messages
PostgreSQL ORM
Disable misleading migrations message 5 messages
ORM MySQL
How to add a column in a group by query but not group by it. 16 messages
ORM
New to Django and Postgres. Seems like Django can't create tables? 243 messages
PostgreSQL
Concurrency issue - .update() the solution? 4 messages
ORM SQLite
Best way to handle multiple images and/or URLs for a single model object? 32 messages
PostgreSQL ORM
keep relationship after soft delete 36 messages
ORM PostgreSQL
Different behavior .exclude Q vs .exclude(id_in=ids) 3 messages
ORM
Complex query with Q expression 8 messages
ORM
Regarding can't bulk create multilevel inheritance midel 7 messages
ORM
DRF serializer + complex fields = crazy N+1s 9 messages
ORM
Django JsonField on Models 7 messages
ORM SQLite
Filter objects where `my_object.a.b == my_b` 10 messages
ORM
adding timescale through runSQL 2 messages
PostgreSQL
Annotation between two databases 4 messages
PostgreSQL ORM
Optional model fields 10 messages
ORM SQLite
Ordering models like a list 6 messages
ORM SQLite
Can SQLite database store JSONField? 7 messages
SQLite ORM
Issue with Foreign Key Constraint in Custom User Model in Django 30 messages
ORM SQLite
Creating Multiple Selection Fields 36 messages
PostgreSQL ORM SQLite
Adding a new item within my existing model or creating a new model? 20 messages
ORM PostgreSQL
Django 3.1.x - errors after 7-20 days. Disconnected from and can't reconnect to PostgreSQL 2 messages
PostgreSQL
Regarding ORM(prefetch_realate, Prefetch and annotate) and Serializer 23 messages
ORM PostgreSQL
Artist matching query does not exist 2 messages
MySQL
Two apps - Three "types" of views (one per app and one as a merge of the two apps) 2 messages
ORM
Unique constraint 10 messages
SQLite ORM
Database image/file field folder 5 messages
ORM SQLite
Multible Django Apps, One Database 27 messages
PostgreSQL ORM
How to apply migrations which won't apply? 60 messages
ORM
How does Django represent many-to-many fields? 5 messages
ORM
Dealing with dates, datetimes and timezones 7 messages
ORM MySQL SQLite MariaDB
ON_DELETE = CASCADE CONSTRAINT NOT WORKING 7 messages
PostgreSQL
How to join indirect tables using the ORM? 7 messages
ORM Other database
Is there a performance difference in using tuples instead of list in django orm? 8 messages
ORM MySQL
DB field 'year' being saved in the database as 'null' 17 messages
ORM Other database
django.db.utils.OperationalError: (1292, "Truncated incorrect INTEGER value: 'No'") 11 messages
ORM MySQL MariaDB
Avoid implicit LEFT JOIN on ForeignKey due to ManyToMany relation? 27 messages
PostgreSQL ORM SQLite
Error 1068 Multiple primary key defined 26 messages
ORM MySQL MariaDB
many entries shown in the query 5 messages
SQLite
Annotate a Post with a field whether user has liked it 12 messages
SQLite ORM
Why when I migrate the Django model(s), tables beside the model ones get created in the DB as well? 12 messages
ORM MySQL
There are 8 similar queries in Django Debug Toolbar 4 messages
ORM
Shared fields between objects 7 messages
ORM
django.db.utils.IntegrityError: FOREIGN KEY constraint failed 2 messages
SQLite
array fields intersection? 6 messages
ORM PostgreSQL
Window functions 9 messages
PostgreSQL
What is the django way to join two tables on a non-FK field (In Nested Complex Query)? 3 messages
PostgreSQL ORM