From: Oleg B. <ph...@ph...> - 2004-11-23 11:56:21
|
Hi! > File "sqlbuilder.py", line 549, in STARTSWITH > TypeError: unsupported operand type(s) for +: 'instance' and 'str' def STARTSWITH(expr, string): return SQLOp("LIKE", expr, _LikeQuoted(string) + '%') _LikeQuoted is a class. How it is supoosed to work with "+"? (also in ENDSWITH and CONTAINSSTRING). Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |