williamoliveira / eloquent-array-query-builder Goto Github PK
View Code? Open in Web Editor NEWQuery Laravel Eloquent with and associative array
Query Laravel Eloquent with and associative array
Hi
Thank you for your useful library. Is there feature to AND or OR two condition to each other? What should I do?
Best regards
Hi ,
When you release for laravel 5.4?
I have url like this
?where[title][like]=%ww%&where[id]=2&fields[]=id
return
[{"id":2},{"id":3},{"id":4}]
My question is I have two condition but execute first.
When I change it this:
?where[id]=2&where[title][like]=%ww%&fields[]=id
return
[{"id":2}]
Hi
How to groupBy in your library like this?
$users = User::orderBy('name', 'desc')
->groupBy('count')
->having('count', '>', 100)
->get();
Hi
Thanks for your package. I want to send query param with JSON format instead of query string. What should I do?
Thanks
Hi William,
Is it possible to add SUM, MAX, MIN, AVG, COUNT to number fields in query builder? I think it's essential to real world project and it useful to get complete report from eloquent.
Thanks
Hi!, please add support for laravel 5.8
Hi, have you spent some thoughts on creating a reverse function to "apply" which will extract the query array from an existing Eloquent query builder (e.g. to send it over the wire to another API)
Hi!, I am running your example with the User model and it is not working, I am running
$exampleArrayQuery = [
'fields' => ['id', 'first_name', 'created_at'],
'order' => 'first_name',
'include' => [
'permissions' => true,
'roles' => [
'where' => [
'name' => 'xxx',
],
'fields' => ['id', 'name'],
'order' => 'name DESC',
],
],
'offset' => 5,
'limit' => 15,
];
and always return the same data, I dont have a role with name "xxx" and also the data returned does not have the "roles" info
Hi ,
When you release for laravel 5.3?
Hi,
Could you be gentle to help me add support for Laravel 6.x or 7.x?
Thank you
Installation failed,
williamoliveira/eloquent-array-query-builder v1.1.0 requires illuminate/database <=5.3 -> satisfiable by illuminate/database[4.0.x-dev, 4.1.x-dev, 4.2.x-dev, 5.0.x-dev, 5.1.x-dev, 5.2.x-dev, v1.0.0, v1.1.0, v1.1.1, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0-BETA1, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9, v5.0.0, v5.0.22, v5.0.25, v5.0.26, v5.0.27, v5.0.28, v5.0.33, v5.0.4, v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.43, v5.2.45, v5.2.6, v5.2.7, v5.3.0].
- Can only install one of: illuminate/database[v1.0.0, v5.7.20].
- Can only install one of: illuminate/database[v1.1.0, v5.7.20].
- Can only install one of: illuminate/database[v1.1.1, v5.7.20].
- Installation request for illuminate/database (locked at v5.7.20) -> satisfiable by illuminate/database[v5.7.20].
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.