Lightweight, easy-to-use querybuilder for PHP inspired by Laravel Eloquent - but with less overhead.
MIT License
Bot releases are hidden (Show)
Published by skipperbent almost 7 years ago
Published by skipperbent almost 7 years ago
PdoException
has been replaced with Pecee\Pixie\Exception
that includes methods for fetching query-object for easier debugging.$qb->raw()
with bindings as field name.Pecee\Pixie\ConnectionAdapters\Exception
class.Published by skipperbent almost 7 years ago
PdoException
has been replaced with Pecee\Pixie\Exception
that includes methods for fetching query-object for easier debugging.$qb->raw()
with bindings as field name.Published by skipperbent almost 7 years ago
whereBetween
and orWhereBetween
and appropriate unit tests.QueryObject
from last executed query (issue: #44)Published by skipperbent almost 7 years ago
QueryObject
from last executed query (issue: #44)Published by skipperbent almost 7 years ago
whereBetween
and orWhereBetween
and appropriate unit tests.Published by skipperbent almost 7 years ago
Published by skipperbent almost 7 years ago
Published by skipperbent almost 7 years ago
usmanhalalit/viocon
composer dependency (Container support) to increase library performance.EventHandler
from QueryBuilderHandler
.IQueryBuilderHandler
interface for more implementations of return-types.This version contains breaking changes. Before upgrading, please read the read the release notes carefully.
Removed usmanhalalit/viocon
composer dependency (Container support) to increase library performance.
If you are currently using containers in your projects, please note that this feature is no longer supported in the pecee-pixie
library. To create custom connection-adapter, you need to inherit the IConnectionAdapter
interface and use it as a driver on your Connection
object instead.
Moved event-type constant from QueryBuilderHandler
to EventHandler
class.
Event-type constant has been moved to the EventHandler
class. Please change all references to QueryBuilderHandler::EVENT_BEFORE_UPDATE
etc. to EventHandler::EVENT_BEFORE_UPDATE
.
Published by skipperbent almost 7 years ago
usmanhalalit/viocon
composer dependency (Container support) to increase library performance.alias
method in QueryBuilderHandler
.prefix
method.NULL
value.EventHandler
class.This version contains breaking changes. Before upgrading, please read the read the release notes carefully.
Removed usmanhalalit/viocon
composer dependency (Container support) to increase library performance.
If you are currently using containers in your projects, please note that this feature is no longer supported in the pecee-pixie
library. To create custom connection-adapter, you need to inherit the IConnectionAdapter
interface and use it as a driver on your Connection
object instead.
Removed deprecated prefix
method.
The deprecated method $qb->prefix($table, $alias)
has been removed. Please change all references to $qb->alias($alias, $table);
.
Changed parameter order on alias
method in QueryBuilderHandler
.
$qb->alias($alias)
no longer requires you to enter $table
- that argument has been moved to the end of the method. If no argument exists, pecee-pixie
will try to determine the table from any table()
calls. Please change all references to $qb->alias($alias, $table);
.
Published by skipperbent almost 7 years ago
prefix
method in QueryBuilderHandler
.table
parameter in alias
method optional.This version requires PHP 7.0 or higher. Any references to $queryHandler->prefix()
should be changed to $queryHandler->alias()
before updating.
Published by skipperbent almost 7 years ago
PDO
not supporting bool
parameters (issue: #27 - thanks to @mrcnpdlk).Published by skipperbent almost 7 years ago
Published by skipperbent almost 7 years ago
join
function (thanks to @mrcnpdlk)composer.json
.Published by skipperbent almost 7 years ago
Raw
and Closures
objects.Published by skipperbent about 7 years ago
$qb->first()
method by reverting to old behavior (issue: #12)getQueryBuilder()
when creating new connection.Published by skipperbent about 7 years ago
Published by skipperbent about 7 years ago
alias
method.Published by skipperbent about 7 years ago
$queryObject
available. This makes it possible to get the raw-query before and after each events.Published by skipperbent over 7 years ago
prefix
method to alias
in QueryBuilderHandler
.testPrefix
unit-test in QueryBuilderBehaviorTest
.prefix
) in QueryBuilderHandler
to avoid compability issues.alias
method in QueryBuilderHandler
.testPrefix
to testAlias
in QueryBuilderBehaviorTest
class.