Code Monkey home page Code Monkey logo

Comments (5)

scr4bble avatar scr4bble commented on June 2, 2024 1

We are having the same issue. I noticed some logic stopped working in our app because of changed types returned from medoo. I guess there will be many places now where this got broken.
We upgraded from 2.1.4 to 2.1.9 and the following code

$this->select('user_id', ['group_id' => $group_id, 'group_type' => $group_type]);

started returning array of strings instead of integers.
user_id is defined as int in our MySQL database.

If it was intended, please don't do such changes without using new major version.
Could you please look into it as soon as possible? I will downgrade the version back in the meantime.

from medoo.

catfan avatar catfan commented on June 2, 2024 1

@scr4bble OK. The v2.1.10 version with this fix is released. https://github.com/catfan/Medoo/releases/tag/v2.1.10

from medoo.

catfan avatar catfan commented on June 2, 2024

@hzbbcc @scr4bble I have fixed this issue on 802251e. Would you try that and see if the problem is resolved?

from medoo.

scr4bble avatar scr4bble commented on June 2, 2024

Yes, it seems to work in 802251e (integers were returned from int MySQL column) - at least the one case that I mentioned above.
I had some difficulties trying a specific commit though so I hope I tested it correctly.
(had to add the repo into "repositories" in composer.json and use composer require catfan/medoo:dev-master#802251e)

from medoo.

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.