Lines Matching refs:con
35 con = sqlite.connect(":memory:")
37 con.create_collation(None, lambda x, y: (x > y) - (x < y))
40 con = sqlite.connect(":memory:")
42 con.create_collation("X", 42)
48 con = sqlite.connect(":memory:")
50 con.create_collation("coll�", cmp)
59 con = sqlite.connect(":memory:")
61 con.create_collation(BadUpperStr("mycoll"), mycoll)
62 result = con.execute("""
79 con = sqlite.connect(":memory:")
80 con.create_collation("mycoll", mycoll)
90 result = con.execute(sql).fetchall()
94 con.create_collation("mycoll", None)
96 result = con.execute(sql).fetchall()
105 con = sqlite.connect(":memory:")
106 con.create_collation("mycoll", mycoll)
116 result = con.execute(sql).fetchall()
125 con = sqlite.connect(":memory:")
126 con.create_collation("mycoll", cmp)
127 con.create_collation("mycoll", lambda x, y: -cmp(x, y))
128 result = con.execute("""
139 con = sqlite.connect(":memory:")
140 con.create_collation("mycoll", cmp)
141 con.create_collation("mycoll", None)
143 con.execute("select 'a' as x union select 'b' as x order by x collate mycoll")
154 con = sqlite.connect(":memory:")
159 con.set_progress_handler(progress, 1)
160 con.execute("""
170 con = sqlite.connect(":memory:")
175 con.set_progress_handler(progress, 1)
176 curs = con.cursor()
182 con.set_progress_handler(progress, 2)
193 con = sqlite.connect(":memory:")
198 con.set_progress_handler(progress, 1)
199 curs = con.cursor()
209 con = sqlite.connect(":memory:")
214 con.set_progress_handler(progress, 1)
215 con.set_progress_handler(None, 1)
216 con.execute("select 1 union select 2 union select 3").fetchall()