# Django ORM vs Objection.js

| Attribute | Django ORM | Objection.js |
|---|---|---|
| **Vioscale score** | 62.3 (33% (low)) | 50.4 (59% (medium)) |
| activity.commits_last_30d | 73 | 0 |
| adoption.dependent_repos | 114,817 | 2,988 |
| adoption.github_stars | 88,955 | 7,342 |
| adoption.package_downloads_weekly | - | 273,725 |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | Django provides a database-abstraction API for structuring and manipulating application data through an object-relational mapping layer. It enables creation, retrieval, updating, and deletion of database objects using Python models. | A query-building library for Node.js that makes it easy to work with relational databases using both high-level abstractions and raw SQL when needed. It supports schema relationships, type safety through TypeScript, and works across multiple database systems. |
| features.capabilities | `{"raw_sql":true,"multi_db":true,"languages":"Python","relations":true,"migrations":true,"type_safe_queries":true}` | `{"raw_sql":true,"multi_db":true,"languages":"JavaScript, TypeScript","relations":true,"migrations":false,"schema_first":true,"type_safe_queries":true}` |
| language.primary | Python | JavaScript |
| license.spdx | BSD-3-Clause | MIT |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","sourceUrl":"https://docs.djangoproject.com/en/stable/topics/db/queries/","retrievedAt":"2026-08-14T09:19:25.676Z"}` | `{"type":"open_source","sourceUrl":"https://vincit.github.io/objection.js","retrievedAt":"2026-08-03T21:33:39.100Z"}` |
| pricing.free_tier | yes | - |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| reliability.status_page | - | yes |
| security.disclosure_policy | yes | - |
| security.scorecard | 6.6 | 3.6 |
| security.vulnerabilities | `{"count":100,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=pypi&package_name=django&per_page=100","last_12m":31,"max_severity":"CRITICAL"}` | `{"count":1,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=objection&per_page=100","last_12m":0,"max_severity":"CRITICAL"}` |

## Capabilities (ORM & Database Tools)

| Capability | Django ORM | Objection.js |
|---|:--:|:--:|
| **Core** |  |  |
| Type-safe queries | ✓ | ✓ |
| Schema migrations | ✓ | ✗ |
| Relations / joins API | ✓ | ✓ |
| Languages | Python | JavaScript, TypeScript |
| **Modelling** |  |  |
| Schema-first modelling | - | ✓ |
| **Flexibility** |  |  |
| Raw SQL escape hatch | ✓ | ✓ |
| **Portability** |  |  |
| Multiple database backends | ✓ | ✓ |
| **Ops** |  |  |
| Connection pooling | - | - |
| **DX** |  |  |
| Data browser / studio | - | - |

*Source: Vioscale. Generated 2026-09-01T20:19:58.927Z. "-" = undocumented, not absent.*
