Lines Matching refs:con
123 con = sqlite.connect(YOU_CANNOT_OPEN_THIS)
516 self.con = sqlite.connect(":memory:")
517 self.cur = self.con.cursor()
522 self.con.close()
525 def run(con, errors): argument
527 cur = con.cursor()
536 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
543 def run(con, errors): argument
545 con.commit()
554 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
561 def run(con, errors): argument
563 con.rollback()
572 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
579 def run(con, errors): argument
581 con.close()
590 t = threading.Thread(target=run, kwargs={"con": self.con, "errors": errors})
695 con = sqlite.connect(":memory:")
696 cur = con.cursor()
708 con = sqlite.connect(":memory:")
709 cur = con.cursor()
714 con = sqlite.connect(":memory:")
715 cur = con.cursor()
720 con = sqlite.connect(":memory:")
721 cur = con.cursor()
727 con = sqlite.connect(":memory:")
728 result = con.execute("select 5").fetchone()[0]
732 con = sqlite.connect(":memory:")
733 con.execute("create table test(foo)")
734 con.executemany("insert into test(foo) values (?)", [(3,), (4,)])
735 result = con.execute("select foo from test order by foo").fetchall()
740 con = sqlite.connect(":memory:")
741 con.executescript("create table test(foo); insert into test(foo) values (5);")
742 result = con.execute("select foo from test").fetchone()[0]
747 con = sqlite.connect(":memory:")
748 con.close()
750 cur = con.cursor()
753 con = sqlite.connect(":memory:")
754 con.close()
756 con.commit()
759 con = sqlite.connect(":memory:")
760 con.close()
762 con.rollback()
765 con = sqlite.connect(":memory:")
766 cur = con.cursor()
767 con.close()
772 con = sqlite.connect(":memory:")
773 con.close()
776 con.create_function("foo", 1, f)
779 con = sqlite.connect(":memory:")
780 con.close()
789 con.create_aggregate("foo", 1, Agg)
792 con = sqlite.connect(":memory:")
793 con.close()
797 con.set_authorizer(authorizer)
800 con = sqlite.connect(":memory:")
801 con.close()
804 con.set_progress_handler(progress, 100)
807 con = sqlite.connect(":memory:")
808 con.close()
810 con()
814 con = sqlite.connect(":memory:")
815 cur = con.cursor()