when doctrine build query´s, for example when you doing
following queries are generated (test_id is integer in mysql):
Is this right?
For me the right query would be:
as in http://dev.mysql.com/doc/refman/5.5/en/type-conversion.html
6 will be converted to float, this can be an issue, or?
Comparisons that use floating-point numbers (or values that are converted to floating-point numbers) are approximate because such numbers are inexact. This might lead to results that appear inconsistent:
this also happens in dql sometimes, why doctrine does this not automatic right due to description in the entities?