Lines Matching defs:cur
1032 cur = self.cx.cursor()
1033 row = cur.fetchone()
1089 cur = self.cx.cursor(f)
1095 cur = sqlite.Cursor(foo)
1477 self.cur = self.con.cursor()
1478 self.cur.execute("create table test(name text, b blob)")
1479 self.cur.execute("insert into test values('blob', zeroblob(1))")
1482 self.cur.close()
1528 lambda: self.cur.execute("insert into test(name) values('a')"),
1529 lambda: self.cur.close(),
1530 lambda: self.cur.execute("select name from test"),
1531 lambda: self.cur.fetchone(),
1579 cur = con.cursor()
1580 cur.executescript("""
1586 cur.execute("select i from a")
1587 res = cur.fetchone()[0]
1592 cur = con.cursor()
1594 cur.executescript("create table test(x); asdf; create table test2(x)")
1598 cur = con.cursor()
1600 cur.executescript("create table test(sadfsadfdsa); select foo from hurz;")
1604 cur = con.cursor()
1606 cur.executescript(b"create table test(foo); insert into test(foo) values (5);")
1610 cur = con.cursor()
1612 cur.executescript("""
1619 cur = con.cursor()
1621 cur.executescript("""
1664 cur = con.cursor()
1680 cur = con.cursor()
1683 cur.execute("select 4")
1729 cur = con.cursor()
1730 cur.close()
1741 method = getattr(cur, method_name)