Git Product home page Git Product logo

Comments (3)

ernie avatar ernie commented on September 17, 2024

You should be able to work around this by checking the actual return value of the function -- I'm not sure I want to support AND/OR on functions, as it normally would be against an actual predicate. Can you try that?

something like:

where{function(param, other_param) == true}

for instance.

from squeel.

mat813 avatar mat813 commented on September 17, 2024

I can do that, yes, I tried it, I find it a bit cumbersome, as I can already do :

where{function(param, other_param)}

and even

where{function(param, other_param)}.where{function(param, other_param)}

and get an AND, but I can't get an OR that way :-)

from squeel.

ernie avatar ernie commented on September 17, 2024

Going to close this one right now. Consider the request noted -- for now, I'm gonna push back and say that I don't see a lot of use cases for it. If enough requests come back for it though I will revisit.

from squeel.

Related Issues (20)

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.