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
13a1a619
Commit
13a1a619
authored
Sep 24, 2007
by
Jonathan.Wage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for unit tests being broken.
parent
b447f6ca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
11 deletions
+7
-11
Export.php
lib/Doctrine/Export.php
+7
-4
index.php
playground/index.php
+0
-2
schema.yml
tests/schema.yml
+0
-5
No files found.
lib/Doctrine/Export.php
View file @
13a1a619
...
...
@@ -1081,12 +1081,15 @@ class Doctrine_Export extends Doctrine_Connection_Module
$table
=
$plugin
->
getOption
(
'pluginTable'
);
// Make sure plugin has a valid table
if
(
$table
instanceof
Doctrine_Table
)
{
$data
=
$table
->
getExportableFormat
();
$query
=
$this
->
conn
->
export
->
createTableSql
(
$data
[
'tableName'
],
$data
[
'columns'
],
$data
[
'options'
]);
$sql
=
array_merge
(
$sql
,
(
array
)
$query
);
}
}
return
$sql
;
}
...
...
playground/index.php
View file @
13a1a619
...
...
@@ -24,6 +24,4 @@ if ($action == 'server') {
$query
=
new
Doctrine_Resource_Query
();
$users
=
$query
->
from
(
'User u, u.Phonenumber p, u.Address a, u.Book b, b.Author a'
)
->
execute
();
print_r
(
$users
);
}
\ No newline at end of file
tests/schema.yml
View file @
13a1a619
---
Test
:
inheritance
:
extends
:
User
keyField
:
otype
keyValue
:
1
Account
:
tableName
:
account
className
:
Account
...
...
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