We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for the great library.
Information
Describe the Problem A clear and concise description of what the problem is.
$db->select('folder', ['id[String]','name','articleOrder[JSON]']); Even if you run this, the ID will be returned as a number.
$db->select('folder', ['id[String]','name','articleOrder[JSON]']);
Looking at the source code https://github.com/catfan/Medoo/blob/master/src/Medoo.php#L1464
case 'String': $stack[$columnKey] = $item; break;
Shouldn't we add (string) like this? $stack[$columnKey] = (string) $item;
$stack[$columnKey] = (string) $item;
The text was updated successfully, but these errors were encountered:
Thanks for the feedback.
Would you submit a pull request for this?
Sorry, something went wrong.
Sorry. Due to my lack of skill, I don't know how to use git.
@webgoto OK, I will fix it.
[fix] String type declaration for dataMap() #1085
8ff7519
I'm not sure that this was OK, db field bigint(20) has now string value not int.
No branches or pull requests
Thanks for the great library.
Information
Describe the Problem
A clear and concise description of what the problem is.
$db->select('folder', ['id[String]','name','articleOrder[JSON]']);
Even if you run this, the ID will be returned as a number.
Looking at the source code
https://github.com/catfan/Medoo/blob/master/src/Medoo.php#L1464
Shouldn't we add (string) like this?
$stack[$columnKey] = (string) $item;
The text was updated successfully, but these errors were encountered: