- 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.
- 做好PPT就靠這幾招:圖解力+吸引力+說服力
- WordPress 2.7 Cookbook
- 中文版3ds Max 2012實用教程(第2版)
- 3ds Max/MaxScript印象 腳本動畫制作基礎與應用
- Drupal 6 Content Administration
- Photoshop CS6標準教程(全視頻微課版)
- 音樂日記:Studio One 6場景×風格編曲實用教程
- Microsoft SQL Azure Enterprise Application Development
- Photoshop人像精修秘笈
- AI繪畫大師:Stable Diffusion快速入門與實戰技巧
- 中文版Photoshop CS6建筑效果圖后期處理技法
- WordPress Multisite Administration
- 48小時精通CREO Parametric 3.0中文版模具設計技巧
- 基于深度學習的自然語言處理
- 攝影師的后期課:Photoshop基礎入門篇