ThymonA / fivem-mysql

MySQL library/resource made for FiveM. Fastest MySQL library for FiveM
GNU General Public License v3.0
16 stars 6 forks source link

[Bug] Better input parser based on column type #1

Open ThymonA opened 3 years ago

ThymonA commented 3 years ago

Parse value based on there required type, when a column is a INT and a boolean is given. The library is trying to add the value true instead of 1, that causes SQL issues. When true is given, parse this value to a int (1).

Maybe there are more tables that having this issue, resolve this issue.