Lines Matching refs:con
139 con = sqlite.connect(YOU_CANNOT_OPEN_THIS)
557 self.con = sqlite.connect(":memory:")
558 self.cur = self.con.cursor()
563 self.con.close()
566 def run(con, errors): argument
568 cur = con.cursor()
577 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
584 def run(con, errors): argument
586 con.commit()
595 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
602 def run(con, errors): argument
604 con.rollback()
613 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
620 def run(con, errors): argument
622 con.close()
631 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
736 con = sqlite.connect(":memory:")
737 cur = con.cursor()
749 con = sqlite.connect(":memory:")
750 cur = con.cursor()
755 con = sqlite.connect(":memory:")
756 cur = con.cursor()
761 con = sqlite.connect(":memory:")
762 cur = con.cursor()
768 con = sqlite.connect(":memory:")
769 result = con.execute("select 5").fetchone()[0]
773 con = sqlite.connect(":memory:")
774 con.execute("create table test(foo)")
775 con.executemany("insert into test(foo) values (?)", [(3,), (4,)])
776 result = con.execute("select foo from test order by foo").fetchall()
781 con = sqlite.connect(":memory:")
782 con.executescript("create table test(foo); insert into test(foo) values (5);")
783 result = con.execute("select foo from test").fetchone()[0]
788 con = sqlite.connect(":memory:")
789 con.close()
791 cur = con.cursor()
794 con = sqlite.connect(":memory:")
795 con.close()
797 con.commit()
800 con = sqlite.connect(":memory:")
801 con.close()
803 con.rollback()
806 con = sqlite.connect(":memory:")
807 cur = con.cursor()
808 con.close()
813 con = sqlite.connect(":memory:")
814 con.close()
817 con.create_function("foo", 1, f)
820 con = sqlite.connect(":memory:")
821 con.close()
830 con.create_aggregate("foo", 1, Agg)
833 con = sqlite.connect(":memory:")
834 con.close()
838 con.set_authorizer(authorizer)
841 con = sqlite.connect(":memory:")
842 con.close()
845 con.set_progress_handler(progress, 100)
848 con = sqlite.connect(":memory:")
849 con.close()
851 con()
855 con = sqlite.connect(":memory:")
856 cur = con.cursor()