DryORM
Code
Result
no cache
Django 6.0
Django 5.2.8
Django 4.2.26 LTS
SQLAlchemy 2.0
Prisma 6.3
SQLite
PostgreSQL 17.4
PostGIS 3.5 (PostgreSQL 16)
MariaDB 11.4.5
Select a template
django
sqlalchemy
prisma
from django.db import models # You can place the models here class Person(models.Model): name = models.CharField(max_length=100) parent = models.ForeignKey("self", on_delete=models.CASCADE, null=True, default=None, related_name="children") # You need a run function def run(): # At this point all migrations are created and applied john = Person(name='John Doe') jane = Person(name='Jane Doe', parent=john) john.save() print(jane.parent)
Output
Show Template
No output.
Queries
INSERT
I
UPDATE
U
SELECT
S
DELETE
D
DDL
D
TCL
T
Queries
Q
(
0
)
No queries.
✖ Close
Save & Share
✖
private?
Save
Save & Copy