Closed Thinklong closed 5 years ago
$database->update('account', [ 'email' => 'foo@bar.com', 'age' => 25, 'lang' => ['en', 'fr', 'jp', 'cn'] ], 'user_name' => 0);
In MySQL, "'user_name' = 0 is true", but we should know that it should not be true, how to avoid this in meedo
Read documentation about WHERE condition: https://medoo.in/api/where
WHERE
In MySQL, "'user_name' = 0 is true", but we should know that it should not be true, how to avoid this in meedo