Im just starting out building an app with Medoo,
Im trying to run a select query looking like this
$datas = $database->debug()->select(
["email" => "email@example.com"]
SELECT "id","password" FROM "table" WHERE "email" = 'firstname.lastname@example.org'
PHP Version: PHP 5.4.41
MySQL: mysql Ver 14.14
That could be an issue with requiring
ANSI_QUOTES. MySQL has a non-standard setting by default, so you may need to change it.
Normally MySQL uses both types of quotes to delimit strings and backticks for identifiers, whereas the SQL standard is to use double quotes for identifiers and single quotes for strings.
If you change your server setting that should fix it, but be aware that might break every other application that depends on MySQL's strange defaults.