Bundle Size (Min + GZIP) | 9.9 KB | 16.7 KB | 12.6 KB |
Relations (hasMany, belongsTo, morphOne, hasManyBy, hasOne, morphTo) | ✅ | ✅ | ✅ |
Relations (morphMany, belongsToMany, hasManyThrough) | ✅ | ✅ | ❌ |
Relations (morphToMany, morphedByMany) | ❌ | ✅ | ❌ |
Mutators | ✅ | ✅ | ❌ |
Casts | ✅ | ❌ | ❌ |
Decorators | ✅ | ❌ | ✅ |
Single Table Inheritance | ✅ | ✅ | ❌ |
Lifecycle Hooks | ✅ | ✅ | ❌ |
Aggregates | ✅ | ✅ | ❌ |
Query (orHas, doesntHave, orDoesntHave, whereHas, orWhereHas, groupBy) | ✅ | ❌ | ❌ |
Collection Helpers | ✅ | (✅) can use pinia-orm helpers too | (✅) can use pinia-orm helpers too |
Hidden Fields | ✅ | ❌ | ❌ |
Metadata field | ✅ | ❌ | ❌ |
Caching of queries with gc | ✅ | (✅) with plugin | ❌ |