DryORM
Code
Result
no cache
SQLite
PostgreSQL 17.4
MariaDB 11.4.5
Select a template
dryorm features
basic
bulk create
bulk fake
csv import
basic fk
self fk
user profile
dryorm tabular output
from django.db import models from django.db.models.fields.related import ForeignObject class User(models.Model): id = models.AutoField(primary_key=True) email = models.EmailField(unique=True) first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) class Invitation(models.Model): id = models.AutoField(primary_key=True) company_id = models.PositiveBigIntegerField() email = models.EmailField() user = models.ForeignObject( User, models.CASCADE, from_fields=["email"], to_fields=["email"], null=True, related_name="invitations", ) def run(): invitations = list(Invitation.objects.select_related("user"))
Output
Show Template
No output.
Queries
TCL
T
DDL
D
SELECT
S
INSERT
I
UPDATE
U
DELETE
D
Queries
Q
(
0
)
No queries.
✖ Close
Save & Share
✖
private?
Save
Save & Copy