From c6a499a1c1dbcfae7390a615c306589d976a33c4 Mon Sep 17 00:00:00 2001 From: jeffreyguo Date: Wed, 11 Mar 2015 14:48:21 +1300 Subject: [PATCH] Update 01_Data_Model_and_ORM.md Line#15: removed "is" in "Database Columns are is defined" Line#404: changed "17 or 74" to "17 or 43" according to line #409 --- docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md index 7a6ef4224..ee21eeb4e 100644 --- a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md +++ b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md @@ -12,7 +12,7 @@ information. All data tables in SilverStripe are defined as subclasses of [api:DataObject]. The [api:DataObject] class represents a single row in a database table, following the ["Active Record"](http://en.wikipedia.org/wiki/Active_record_pattern) -design pattern. Database Columns are is defined as [Data Types](data_types_and_casting) in the static `$db` variable +design pattern. Database Columns are defined as [Data Types](data_types_and_casting) in the static `$db` variable along with any [relationships](relations) defined as `$has_one`, `$has_many`, `$many_many` properties on the class. Let's look at a simple example: @@ -401,7 +401,7 @@ Remove both Sam and Sig.. 'Surname' => 'Minnée', )); -And removing Sig and Sam with that are either age 17 or 74. +And removing Sig and Sam with that are either age 17 or 43. :::php $players = Player::get()->exclude(array(