All notable changes to QueryPipeline
will be documented in this file.
- build(deps): bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #13
Full Changelog: https://github.com/crazynds/QueryPipeline-Laravel/compare/v1.0.9...1.0.10
- build(deps): bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in #11
Full Changelog: https://github.com/crazynds/QueryPipeline-Laravel/compare/v1.0.8...v1.0.9
Fixed a bug when you use whereIn
and a clousure in value, the bindings are deleted.
Where in and Where not in is working as intentded.
- build(deps): bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #3
Full Changelog: https://github.com/crazynds/QueryPipeline-Laravel/compare/v1.0.5...v1.0.6
Full Changelog: https://github.com/crazynds/QueryPipeline-Laravel/compare/v1.0.7...v1.0.8
Full Changelog: https://github.com/crazynds/QueryPipeline-Laravel/compare/v1.0.6...v1.0.7
Add support for laravel 10
Fix for complex queries.
Solved bugs introduced in version 1.0.3
Created OrderByQuery for use order by if the parameter 'sortBy' is in array $data.
// Check the 'sortBy' in $data to sort
// Check the 'sortDesc' (bool) if is asc or desc
// sortDest = 1 => desc
// sortDesc = 0 => asc
$query = $this->runPipeline($query, $data, [
OrderByQuery::class => [
Client::class => [
'name',
'age',
],
'default' => 'clients.id'
],
]);
Instead of needing to put the name of the table, it is also possible to pass the model that the table will be used for.
Now is possible to do the follow:
$query = $this->runPipeline($query, $data, [
ILIKEQuery::class => [
Question::class => [
'type',
'title',
'description',
],
],
]);
Irrelevant UPDATES.
Primeira versão oficial.
Release of the first version of the package.
New:
- Added BetweenDatesQuery filter
Fix:
- Removed all calls of env function