Download the PHP package mikehenrty/thin-pdo-wrapper without Composer
On this page you can find all versions of the php package mikehenrty/thin-pdo-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mikehenrty/thin-pdo-wrapper
More information about mikehenrty/thin-pdo-wrapper
Files in mikehenrty/thin-pdo-wrapper
Download mikehenrty/thin-pdo-wrapper
More information about mikehenrty/thin-pdo-wrapper
Files in mikehenrty/thin-pdo-wrapper
Vendor mikehenrty
Package thin-pdo-wrapper
Short Description A simple database abstraction for using PDO with MySQL, Postgres, and SQLite.
License MIT
Homepage https://github.com/mikehenrty/thin-pdo-wrapper
Package thin-pdo-wrapper
Short Description A simple database abstraction for using PDO with MySQL, Postgres, and SQLite.
License MIT
Homepage https://github.com/mikehenrty/thin-pdo-wrapper
Please rate this library. Is it a good library?
Informations about the package thin-pdo-wrapper
Thin PDO Wrapper
A simple database client utilizing PHP PDO.
Advantages
- Maintains at most one connection to slave DB and one to master DB per request.
- Automatically uses slave connection for data retrieval, master for writes.
- Randomized slave connection, with automatic fallback to master if no slaves exist.
- Enforces data sanitization (using PDO prepared statements and bind parameters).
- Catches all errors, and writes them to error log if configured to do so.
- Automatic timestamps for creates and updates
- Handles multiple inserts with a single query.
- Fallback to custom queries if one needs to do a join or second order query.
- Deals exclusively with associative arrays for input/output
Configuration
Master
Slaves (optional)
Examples
Selecting
Inserting
Complex Queries with bind parameters
All versions of thin-pdo-wrapper with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package mikehenrty/thin-pdo-wrapper contains the following files
Loading the files please wait ....