RE: sqlite3 version lacks instr

2013-08-01 Thread Fábio Santos
I'm not sure but it seems like you could use operator.__contains__ . it might be faster. On 28 Jul 2013 20:18, "Peter Otten" <__pete...@web.de> wrote: > Joseph L. Casale wrote: > > >> Has anyone encountered this and utilized other existing functions > >> within the shipped 3.6.21 sqlite version to

RE: sqlite3 version lacks instr

2013-07-28 Thread Peter Otten
Joseph L. Casale wrote: >> Has anyone encountered this and utilized other existing functions >> within the shipped 3.6.21 sqlite version to accomplish this? > > Sorry guys, forgot about create_function... Too late, I already did the demo ;) >>> import sqlite3 >>> db = sqlite3.connect(":memory:"

RE: sqlite3 version lacks instr

2013-07-28 Thread Joseph L. Casale
> Has anyone encountered this and utilized other existing functions > within the shipped 3.6.21 sqlite version to accomplish this? Sorry guys, forgot about create_function... -- http://mail.python.org/mailman/listinfo/python-list

sqlite3 version lacks instr

2013-07-28 Thread Joseph L. Casale
I have some queries that utilize instr wrapped by substr but the old version shipped in 2.7.5 doesn't have instr support. Has anyone encountered this and utilized other existing functions within the shipped 3.6.21 sqlite version to accomplish this? Thanks, jlc -- http://mail.python.org/mailman/l