Giter Site home page Giter Site logo

Comments (7)

mookman288 avatar mookman288 commented on August 23, 2024

Could this be related to the backticks?

$this->container[] = " $chainType `$column` $operator ?";

from pdo.

mikegioia avatar mikegioia commented on August 23, 2024

@mookman288 It's definitely related to the backticks. I went through and I think this could be addressed by using havingCount()? That function also takes a column name but adds in the COUNT for you.

from pdo.

mookman288 avatar mookman288 commented on August 23, 2024

I was using havingCount, the method, originally. It still uses the backticks. Are they necessary (they aren't in the original library) or were they a design feature?

from pdo.

mikegioia avatar mikegioia commented on August 23, 2024

Oh I understand now. I'll send a PR up in a few minutes with my proposed changes.

from pdo.

mikegioia avatar mikegioia commented on August 23, 2024

@mookman288 I know this is a trivial update but would you mind just testing the branch over at #2 to see if it resolves it. I know it will because it's what you originally suggested and I see the problem. I didn't realize having() was called by the other methods in that class until now.

from pdo.

mookman288 avatar mookman288 commented on August 23, 2024

I just tested this (manually, I didn't pull anything down) and it works.

from pdo.

mikegioia avatar mikegioia commented on August 23, 2024

Ok this should be resolved now in master at version 2.0.3!

from pdo.

Related Issues (3)

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.