Object Relational Mapping
The object relational mapping (ORM) software layer allows MATLAB® to interact directly with relational databases. You can read, write and update the details of objects which are stored as rows in the database table. Relational databases currently supported by Database Toolbox™ include
|Provide attributes for defining how subclasses map to relational database tables (Since R2023b)
|Convert object relational mapping class to query (Since R2023b)
- Read and Write Objects to Relational Database Using ORM Workflow
This example shows the basic operations for reading and writing objects to a relational database using Object Relational Mapping (ORM).