Skip to content

Commit

Permalink
README.md update
Browse files Browse the repository at this point in the history
  • Loading branch information
rawsrc committed Nov 4, 2022
1 parent 0dded00 commit 8b3133c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PDOPlusPlus : a new generation of PDO Wrapper

`2022-11-01` `PHP 8.0+` `v.5.0.0`
`2022-11-04` `PHP 8.0+` `v.5.0.1`

## A PHP full object PDO Wrapper in one class

Expand Down Expand Up @@ -41,7 +41,7 @@ The power of `PDOPlusPlus` is directly linked to the way the instance is
All you have to choose is the right **injector** that will take care, in a secure
way, of the values to be injected into the SQL.<br>

To cover all use cases, there's 5 different injectors:
To cover all use cases, there's 6 different injectors:
- `getInjectorIn()`: injected values are directly escaped (plain sql). **THIS IS THE DEFAULT INJECTOR**
- `getInjectorInByVal()`: injected values are escaped using the `PDOStatement->bindValue()` mechanism
- `getInjectorInByRef()`: injected values are escaped using the `PDOStatement->bindParam()` mechanism
Expand All @@ -65,6 +65,8 @@ NEW FEATURES:

REMOVED:
- Defining the final data type when creating an injector
- `AbstractInjector` class as its code was so simple that it was meaningful to directly implement it in each injector.
So now `PDOPlusPlus` is truly a standalone class with no other dependency

The test code is now available. All tests are written for another of my projects:
[Exacodis, a minimalist testing engine for PHP](https://github.com/rawsrc/exacodis)
Expand Down

0 comments on commit 8b3133c

Please sign in to comment.