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
7e16187a
Commit
7e16187a
authored
Sep 24, 2017
by
Marco Pivetta
Committed by
GitHub
Sep 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2869 from AlessandroMinoccheri/fix_security_documentation
fixed typo into security documentation
parents
a0cc581b
99f3b3da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
security.rst
docs/en/reference/security.rst
+2
-2
No files found.
docs/en/reference/security.rst
View file @
7e16187a
...
...
@@ -126,7 +126,7 @@ Following are examples of using prepared statements with SQL and DQL:
$data = $query->getResult();
You can see this is a bit more tedious to write, but this is the only way to write secure queries. If you
are using just the DBAL there are also helper methods which simplify the usage quite alot:
are using just the DBAL there are also helper methods which simplify the usage quite a
lot:
.. code-block:: php
...
...
@@ -137,7 +137,7 @@ are using just the DBAL there are also helper methods which simplify the usage q
There is also ``executeUpdate`` which does not return a statement but the number of affected rows.
Besides binding parameters you can also pass the type of the variable. This allows Doctrine or the under
yl
ing
Besides binding parameters you can also pass the type of the variable. This allows Doctrine or the under
ly
ing
vendor to not only escape but also cast the value to the correct type. See the docs on querying and DQL in the
respective chapters for more information.
...
...
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