Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
03839264
Commit
03839264
authored
Dec 19, 2013
by
gelbander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed fetchAssoc to fetchAll
fetchAssoc only returns one row. Thats what the sql query implicates.
parent
282628dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/providers/doctrine.rst
doc/providers/doctrine.rst
+2
-2
No files found.
doc/providers/doctrine.rst
View file @
03839264
...
...
@@ -123,9 +123,9 @@ The first registered connection is the default and can simply be accessed as
you would if there was only one connection. Given the above configuration,
these two lines are equivalent::
$app['db']->fetchA
ssoc
('SELECT * FROM table');
$app['db']->fetchA
ll
('SELECT * FROM table');
$app['dbs']['mysql_read']->fetchA
ssoc
('SELECT * FROM table');
$app['dbs']['mysql_read']->fetchA
ll
('SELECT * FROM table');
Using multiple connections::
...
...
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