- Rhomobile Beginner's Guide
- Abhishek Nalwaya
- 137字
- 2021-04-02 18:52:48
What is ORM?
ORM stands for Object-Relational Mapping. ORM libraries map database tables to classes, rows of those tables to objects of the class, and columns to object attributes. Object wraps a row of a database table or view, encapsulates the database access, and adds domain logic on that data.
ORM connects business objects and database tables to create a domain model where logic and data are presented in one wrapping.
In addition, the ORM classes wrap our database tables to provide a set of class-level methods that perform table-level operations. For example, we might need to find the Employee with a particular ID. This is implemented as a class method that returns the corresponding Employee object. In Ruby code, this will look like:
employee= Employee.find(1)
This code will return an employee object whose ID is 1.
- Joomla! 1.5 Site Blueprints
- 基于元胞自動機的城市路網交通流建模與仿真
- vtiger CRM Beginner's Guide
- Procreate繪畫創作從入門到精通
- 人臉識別算法與案例分析
- YUI 2.8: Learning the Library
- 中文版CorelDRAW X6基礎培訓教程(第2版)
- UI功夫:PC和APP界面設計全流程圖解
- 跨境電商:速賣通搜索排名規則解析與SEO技術
- 邊做邊學:CorelDRAW X6圖形設計案例教程(第2版)(微課版)
- UG NX 12.0中文版實戰從入門到精通
- UML 2.0 in Action: A project/based tutorial
- 中文版CorelDRAW X7完全自學教程(實例培訓教材版)
- NumPy 1.5 Beginner's Guide
- phpBB: A User Guide