Download the PHP package myskewhell/tuple without Composer
On this page you can find all versions of the php package myskewhell/tuple. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download myskewhell/tuple
More information about myskewhell/tuple
Files in myskewhell/tuple
Download myskewhell/tuple
More information about myskewhell/tuple
Files in myskewhell/tuple
Vendor myskewhell
Package tuple
Short Description Tuple management
License MIT
Homepage https://github.com/bpolaszek/myskewhell-tuple
Package tuple
Short Description Tuple management
License MIT
Homepage https://github.com/bpolaszek/myskewhell-tuple
Please rate this library. Is it a good library?
Informations about the package tuple
This package is abandoned. Consider upgrading to bentools/where, a very easy way to generate conditions and full queries on the fly.
MySkewHell - Tuple
An intuitive way to work with MySql prepared statements.
Use the PHP array syntax to dynamically add conditions on a SQL query.
Each value will be transfomed to a placeholder ; you can then bind each placeholder to its value.
Building a query : working with placeholders and values
positional placeholders (default)
Output :
Output :
Output :
Query preview :
Named placeholders
Output :
Output :
Output :
Query preview :
Examples with PDO
Using positional placeholders
Using named placeholders
Examples with PDOExtended
Using positional placeholders
Using named placeholders
Operators
Comparison operators
Simple range operator
Multiple range operators
Shortcut
Wrappers
"AND" wrapper
"OR" wrapper
"String" wrapper
Installation
Add the following line into your composer.json :
{
"require": {
"myskewhell/tuple": "dev-master"
}
}
Enjoy.
All versions of tuple with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
The package myskewhell/tuple contains the following files
Loading the files please wait ....