Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
36e3b752
Commit
36e3b752
authored
Mar 20, 2007
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed index documentation
parent
e592d77f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
15 deletions
+5
-15
Object relational mapping - Indexes - Adding indexes.php
.../Object relational mapping - Indexes - Adding indexes.php
+3
-9
Object relational mapping - Indexes - Index options.php
...s/Object relational mapping - Indexes - Index options.php
+1
-3
Object relational mapping - Indexes - Special indexes.php
...Object relational mapping - Indexes - Special indexes.php
+1
-3
No files found.
manual/docs/Object relational mapping - Indexes - Adding indexes.php
View file @
36e3b752
...
...
@@ -11,9 +11,7 @@ class IndexTest extends Doctrine_Record
public function setTableDefinition()
{
\$
this->hasColumn('name', 'string');
}
public function setUp()
{
\$
this->index('myindex', array('fields' => 'name');
}
}
...
...
@@ -30,9 +28,7 @@ class MultiColumnIndexTest extends Doctrine_Record
{
\$
this->hasColumn('name', 'string');
\$
this->hasColumn('code', 'string');
}
public function setUp()
{
\$
this->index('myindex', array('fields' => array('name', 'code')));
}
}
...
...
@@ -50,9 +46,7 @@ class MultipleIndexTest extends Doctrine_Record
\$
this->hasColumn('name', 'string');
\$
this->hasColumn('code', 'string');
\$
this->hasColumn('age', 'integer');
}
public function setUp()
{
\$
this->index('myindex', array('fields' => array('name', 'code')));
\$
this->index('ageindex', array('fields' => array('age'));
}
...
...
manual/docs/Object relational mapping - Indexes - Index options.php
View file @
36e3b752
...
...
@@ -27,9 +27,7 @@ class MultipleIndexTest extends Doctrine_Record
\$
this->hasColumn('name', 'string');
\$
this->hasColumn('code', 'string');
\$
this->hasColumn('age', 'integer');
}
public function setUp()
{
\$
this->index('myindex', array(
'fields' => array(
'name' =>
...
...
manual/docs/Object relational mapping - Indexes - Special indexes.php
View file @
36e3b752
...
...
@@ -10,9 +10,7 @@ class Article
{
\$
this->hasColumn('name', 'string');
\$
this->hasColumn('content', 'string');
}
public function setUp()
{
\$
this->index('content', array('fields' => 'content',
'type' => 'fulltext'));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment