Coder Social home page Coder Social logo

Comments (6)

williamoliveira avatar williamoliveira commented on September 26, 2024

I am in a busy moment right now, I don't know when I will have time to improve this package

from eloquent-array-query-builder.

essivision avatar essivision commented on September 26, 2024

Is possible to help me to add this feature to your library by myself?

from eloquent-array-query-builder.

paranoid-m avatar paranoid-m commented on September 26, 2024

Hi,
I add this in apply function
if (isset($arrayQuery['max'])) { $this->buildmax($query,$arrayQuery['max']); }
and add this function in ArrayBuilder.php
public function buildmax($queryBuilder, $columns) { $queryBuilder->max($columns); }
and use &max=id but it dose not work.
Can you help me?

from eloquent-array-query-builder.

williamoliveira avatar williamoliveira commented on September 26, 2024

The thing with this kind of function and also the reason its not working for you, is that it executes the query and returns the results

I am not sure if we should add functions that executes the query to this package, the original idea of it was to just add filters to a query, not to be a full featured query builder

from eloquent-array-query-builder.

paranoid-m avatar paranoid-m commented on September 26, 2024

Ok that's right
But how to add max,min,avg to your package?
If you have not enough time ,What's your adea?
Thanks a lot

from eloquent-array-query-builder.

williamoliveira avatar williamoliveira commented on September 26, 2024

What about placing this kind of function (that executes the query) on a separated class?

from eloquent-array-query-builder.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.