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
3864591b
Commit
3864591b
authored
Sep 13, 2007
by
jackbravo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix import documentations errors found by Rustin (imperfeito@gmail.com)
parent
2bde9f66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
database-abstraction.txt
manual/new/docs/en/database-abstraction.txt
+8
-8
No files found.
manual/new/docs/en/database-abstraction.txt
View file @
3864591b
...
@@ -297,20 +297,20 @@ print_r($dbs);
...
@@ -297,20 +297,20 @@ print_r($dbs);
+++ Listing sequences
+++ Listing sequences
<code type="php">
<code type="php">
$seqs = $conn->
ex
port->listSequences('events_db');
$seqs = $conn->
im
port->listSequences('events_db');
print_r($seqs);
print_r($seqs);
</code>
</code>
+++ Listing constraints
+++ Listing constraints
<code type="php">
<code type="php">
$cons = $conn->
ex
port->listTableConstraints('event_participants');
$cons = $conn->
im
port->listTableConstraints('event_participants');
</code>
</code>
+++ Listing table fields
+++ Listing table fields
<code type="php">
<code type="php">
$fields = $conn->
ex
port->listTableFields('events');
$fields = $conn->
im
port->listTableFields('events');
print_r($fields);
print_r($fields);
/*
/*
prints:
prints:
...
@@ -325,7 +325,7 @@ Array
...
@@ -325,7 +325,7 @@ Array
+++ Listing table indices
+++ Listing table indices
<code type="php">
<code type="php">
$idx = $conn->
ex
port->listTableIndexes('events');
$idx = $conn->
im
port->listTableIndexes('events');
print_r($idx);
print_r($idx);
/*
/*
prints:
prints:
...
@@ -339,7 +339,7 @@ Array
...
@@ -339,7 +339,7 @@ Array
+++ Listing tables
+++ Listing tables
<code type="php">
<code type="php">
$tables = $conn->
ex
port->listTables();
$tables = $conn->
im
port->listTables();
print_r($tables);
print_r($tables);
/*
/*
prints:
prints:
...
@@ -358,11 +358,11 @@ Array
...
@@ -358,11 +358,11 @@ Array
// currently there is no method to create a view,
// currently there is no method to create a view,
// so let's do it "manually"
// so let's do it "manually"
$sql = "CREATE VIEW names_only AS SELECT name FROM people";
$sql = "CREATE VIEW names_only AS SELECT name FROM people";
$conn->ex
port->ex
ec($sql);
$conn->exec($sql);
$sql = "CREATE VIEW last_ten_events AS SELECT * FROM events ORDER BY id DESC LIMIT 0,10";
$sql = "CREATE VIEW last_ten_events AS SELECT * FROM events ORDER BY id DESC LIMIT 0,10";
$conn->ex
port->ex
ec($sql);
$conn->exec($sql);
// list views
// list views
$views = $conn->
ex
port->listViews();
$views = $conn->
im
port->listViews();
print_r($views);
print_r($views);
/*
/*
prints:
prints:
...
...
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