coldbox-orm-quick
OfficialBuild expressive DB models quickly
System Documentation
What problem does it solve?
Provides a clear, consistent way to define and operate database-backed entities in ColdBox applications so developers avoid repetitive SQL and manual relationship handling. It reduces boilerplate for CRUD operations, relationship management, eager loading, and common query patterns, helping teams build reliable data layers faster.
Core Features & Use Cases
- Entity Modeling: Define Active Record entities with configurable table names, primary keys, fillable/hidden attributes, and type casts.
- Relationships: Declare hasMany, belongsTo, hasOne, belongsToMany, and hasManyThrough relationships for navigable data models.
- Fluent Querying & Eager Loading: Build expressive queries, apply scopes, eager-load relations to prevent N+1, paginate results, and perform bulk updates/deletes.
- Accessors & Mutators: Transform attributes on read/write and encapsulate logic such as hashing or computed values.
Quick Start
Create a User entity with fillable firstName, lastName, email, and password, add hasMany posts and belongsTo role relations, and show a paginated query that eager-loads posts and role.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: coldbox-orm-quick Download link: https://github.com/ColdBox/skills/archive/main.zip#coldbox-orm-quick Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.