Welcome Guest, Not a member yet? Register   Sign In
Backticks not added when using custom operator (v1.6.2)
#3

[eluser]Unknown[/eluser]
Right,
backticks are good
and the library DOES NOT ADD backticks when operators such as > or < are used. It is a problem causing inconsistencies in the formatting of queries when both custom operators and equality is mixed. Try doing something like $this->db->where('field1', $value)->where('field2 >', $value2); and it will add backticks to field1 but not field2 producing an illegal query.


Messages In This Thread
Backticks not added when using custom operator (v1.6.2) - by El Forum - 06-05-2008, 07:56 PM
Backticks not added when using custom operator (v1.6.2) - by El Forum - 06-10-2008, 08:39 AM
Backticks not added when using custom operator (v1.6.2) - by El Forum - 06-11-2008, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB