Download the PHP package gooddaykya/pdobase without Composer
On this page you can find all versions of the php package gooddaykya/pdobase. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gooddaykya/pdobase
More information about gooddaykya/pdobase
Files in gooddaykya/pdobase
Download gooddaykya/pdobase
More information about gooddaykya/pdobase
Files in gooddaykya/pdobase
Please rate this library. Is it a good library?
Informations about the package pdobase
PDOBase
Wrapper for PDO
Description
What it is?
PDOBase is a lightweight and easy-to-config wrapper for PDO. It hides most of routine under boilerplate, thus a developer can focus on what should be done instead of how it should be done.
What it is not?
PDOBase is not a query builder and doesn't include one.
Two reasons for this:
- Supporting every SQL feature will add complexity to existing class.
-
Query builder, separated from specific database adaptor, becomes reusabe with another adaptors, that use SQL.
Using
Instantiating
Or, by passing array from external file
Getting data from database
Using prepared statements
ACID example
Testing
Testing tables
const_table | ||
---|---|---|
id: unsigned int, not null, primary, AI | val: unsigned int, not null | textval: varchar(20) |
1 | 0 | |
2 | 1 | one |
3 | 1 | One |
4 | 2 | Two |
5 | 13 | Trirteen |
6 | 42 | Universal answer |
main_table | |
---|---|
id: unsigned int, not null, primary, AI | val: unsigned int, not null |
dep_table | foreign key(main_table.id) |
---|---|
id: unsigned int, not null, primary | val: unsigned int, not null |
ToDo List
[ ] separate current test cases into transaction and non transaction suites.
[ ] retrieve expected results directly from database.
EOF
All versions of pdobase with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3
ext-pdo Version *
ext-pdo_mysql Version *
ext-pdo Version *
ext-pdo_mysql Version *
The package gooddaykya/pdobase contains the following files
Loading the files please wait ....