matlab-map-database-objects
Generates MATLAB Object Relational Mapping (ORM) code using Database Toolbox. Use when mapping MATLAB classes to database tables, reading/writing objects with ormread/ormwrite/ormupdate, defining Mappable classes, converting classes to SQL with orm2sql, or using object-oriented database workflows.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-map-database-objects --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# MATLAB Object Relational Mapper Use when mapping MATLAB classes to relational database tables using the Object Relational Mapping (ORM) layer in Database Toolbox. Defines Mappable classes with property-to-column mappings and uses ormread, ormwrite, and ormupdate for CRUD operations on objects. Available since R2023b. ## When to Use This Skill - Mapping MATLAB classes to database tables - Reading database rows as MATLAB objects - Writing MATLAB objects to database tables - Updating database rows from modified objects - Generating SQL CREATE TABLE from a class definition - Object-oriented database workflows - User mentions keywords: ORM, object relational mapping, Mappable, ormread, ormwrite, ormupdate, orm2sql, class mapping, property mapping, object database ## When NOT to Use - Ad-hoc queries or data exploration — use `sqlread`/`fetch` with `RowFilter` instead - Bulk imports/exports of thousands of rows — ORM is slower than `sqlwrite`/`sqlread` for bulk operations - MongoDB, Cassandra, or Neo4j — ORM only works with relational databases (JDBC, ODBC, native MySQL/PostgreSQL/SQLite) - MATLAB releases before R2023b — ORM is not available ## Critical Rules ### ORM Requirements - **A
- When to Use This Skill
- When NOT to Use
- Critical Rules
- ORM Requirements
- Supported Connections
- Decision Framework
- Core Concepts
- Defining a Mappable Class
- Property Attributes Reference
- Common Mistakes
- Writing Objects with ormwrite
- Reading Objects with ormread
- Updating Objects with ormupdate
- Deleting Records
What does the matlab-map-database-objects skill do?
Generates MATLAB Object Relational Mapping (ORM) code using Database Toolbox. Use when mapping MATLAB classes to database tables, reading/writing objects with ormread/ormwrite/ormupdate, defining Mappable classes, converting classes to SQL with orm2sql, or using object-oriented database workflows.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-map-database-objects --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
