From 92a73b83cf78f15551b0c20d1f29b3f0f8e73f67 Mon Sep 17 00:00:00 2001 From: jeffreyguo Date: Wed, 11 Mar 2015 16:20:45 +1300 Subject: [PATCH] DOCS Update 12_Indexes.md Fixing grammar mistakes --- docs/en/02_Developer_Guides/00_Model/12_Indexes.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/02_Developer_Guides/00_Model/12_Indexes.md b/docs/en/02_Developer_Guides/00_Model/12_Indexes.md index 145fdcb6b..a3e2c2e72 100644 --- a/docs/en/02_Developer_Guides/00_Model/12_Indexes.md +++ b/docs/en/02_Developer_Guides/00_Model/12_Indexes.md @@ -5,7 +5,7 @@ summary: Add Indexes to your Data Model to optimize database queries. It is sometimes desirable to add indexes to your data model, whether to optimize queries or add a uniqueness constraint to a field. This is done through the `DataObject::$indexes` map, which maps index names to descriptor arrays that -represent each index. There's several supported notations: +represent each index. There're several supported notations: :::php ` can be an an arbitrary identifier in order to allow for more than one index on a specific database +The `` can be an arbitrary identifier in order to allow for more than one index on a specific database column. The "advanced" notation supports more `` notations. These vary between database drivers, but all of them support the following: @@ -27,8 +27,8 @@ support the following: * `unique`: Index plus uniqueness constraint on the value * `fulltext`: Fulltext content index -In order to use more database specific or complex index notations, we also support raw SQL for as a value in the -`$indexes` definition. Keep in mind this will likely make your code less portable between databases. +In order to use more database specific or complex index notations, we also support raw SQL as a value in the +`$indexes` definition. Keep in mind that using raw SQL is likely to make your code less portable between DBMSs. **mysite/code/MyTestObject.php** @@ -52,4 +52,4 @@ In order to use more database specific or complex index notations, we also suppo ## API Documentation -* [api:DataObject] \ No newline at end of file +* [api:DataObject]