-
Notifications
You must be signed in to change notification settings - Fork 56
sql where group = 10 is error #13
Comments
$this->where('group', 10); |
Hi wachuguang, I'm not sure I understand. Can you post some more code and the resulting SQL that's failing? Thanks. |
$miner = new Miner(...); |
i think what he means is that if you use reserved keyword such as "group, from, to" they get interpreted as sql keyword not a field name, i had the same problem with my own sql builder, the best option is to escape the fieldnames so instead of the query being SELECT * FROM `my_table` WHERE `group` = 10 |
@wuchuguang I'm very sorry for never responding to you here. As my silence likely hinted, I stopped maintaining this project long ago. I'm now officially deprecating it to make that clear. If you'd like to continue supporting a forked version, please reach out on Twitter (@kidjustino) to have it listed in the README. |
where
group
= 10 is okThe text was updated successfully, but these errors were encountered: