Active Record (Model)

Automatically maps between tables, attributes, and columns.

Given this table:

CREATE TABLE entries (
  id int(11) NOT NULL auto_increment,
  name varchar(255),
  comments varchar(255),
  PRIMARY KEY (id)
);