Comments (5)
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.
@scr4bble OK. The v2.1.10 version with this fix is released. https://github.com/catfan/Medoo/releases/tag/v2.1.10
from medoo.
@hzbbcc @scr4bble I have fixed this issue on 802251e. Would you try that and see if the problem is resolved?
from medoo.
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)
- In update copy field HOT 1
- buildRaw() with duplicated column name
- PHP 8.2 support HOT 2
- Medoo internal regex alters my insertion values HOT 1
- select max item why return string not integer?
- Bad string interpolation syntax in Medoo.php HOT 2
- Uncaught PDOException: Too many connections HOT 2
- create function option is wrong Syntax. HOT 1
- Error when using Raw with IN HOT 1
- debug() don't work in the latest version. HOT 2
- NULL to EMPTY_STRING HOT 3
- sum() sometimes returns string instead of number HOT 1
- invalid value for parameter "client_encoding": "utf8mb4" HOT 1
- 'String' in Data Type Declaration does not work HOT 4
- Any one know how to use this library with mysql's AES_ENCRYPT and AES_DECRYPT HOT 2
- Update from 0.9.6 version :) HOT 1
- Multi-Insertion:how to fetch insert errors?
- Rand() optimization HOT 2
- Can't connect to db HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medoo.