Home | History | Annotate | Download | only in test

Lines Matching refs:con

35         con = sqlite.connect(":memory:")
37 con.create_collation("X", 42)
43 con = sqlite.connect(":memory:")
45 con.create_collation("coll?", cmp)
57 con = sqlite.connect(":memory:")
58 con.create_collation("mycoll", mycoll)
68 result = con.execute(sql).fetchall()
72 con.create_collation("mycoll", None)
74 result = con.execute(sql).fetchall()
83 con = sqlite.connect(":memory:")
84 con.create_collation("mycoll", mycoll)
94 result = con.execute(sql).fetchall()
103 con = sqlite.connect(":memory:")
104 con.create_collation("mycoll", cmp)
105 con.create_collation("mycoll", lambda x, y: -cmp(x, y))
106 result = con.execute("""
117 con = sqlite.connect(":memory:")
118 con.create_collation("mycoll", cmp)
119 con.create_collation("mycoll", None)
121 con.execute("select 'a' as x union select 'b' as x order by x collate mycoll")
132 con = sqlite.connect(":memory:")
137 con.set_progress_handler(progress, 1)
138 con.execute("""
148 con = sqlite.connect(":memory:")
153 con.set_progress_handler(progress, 1)
154 curs = con.cursor()
160 con.set_progress_handler(progress, 2)
171 con = sqlite.connect(":memory:")
176 con.set_progress_handler(progress, 1)
177 curs = con.cursor()
187 con = sqlite.connect(":memory:")
192 con.set_progress_handler(progress, 1)
193 con.set_progress_handler(None, 1)
194 con.execute("select 1 union select 2 union select 3").fetchall()