Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Nov 25, 2019
1 parent 47a9ab8 commit 6b1874c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ as years ago...
Features
--------

*PDO*:
**PDO**:

Example use:
```
Expand All @@ -20,7 +20,7 @@ var_dump($db->execute("SELECT * FROM mytable LIMIT :limit", ["limit"=>3])->fetch
password as part of the DSN, just like every other backend.

- Added `PDO::execute($query, $parameters)`, so that one can write a
templated query without needing to create a one-use prepared statement
templated query without needing to create a single-use prepared statement

- Made `PDOStatement::execute($parameters)` use typed bindings, so that
`"LIMIT :foo", ["foo"=>3]` is rendered as "LIMIT 3" instead of "LIMIT '3'"
`"LIMIT :foo", ["foo"=>3]` is rendered as `LIMIT 3` instead of `LIMIT '3'`

0 comments on commit 6b1874c

Please sign in to comment.