Searched refs:lastrowid (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 94 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init() 129 Py_XDECREF(self->lastrowid); in pysqlite_cursor_dealloc() 725 Py_DECREF(self->lastrowid); in _pysqlite_query_execute() 727 sqlite_int64 lastrowid; in _pysqlite_query_execute() local 729 lastrowid = sqlite3_last_insert_rowid(self->connection->db); in _pysqlite_query_execute() local 731 self->lastrowid = _pysqlite_long_from_int64(lastrowid); in _pysqlite_query_execute() 734 self->lastrowid = Py_None; in _pysqlite_query_execute() 1064 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), RO},
|
D | cursor.h | 39 PyObject* lastrowid; member
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 51 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init() 86 Py_XDECREF(self->lastrowid); in pysqlite_cursor_dealloc() 383 sqlite_int64 lastrowid; in _pysqlite_query_execute() local 572 Py_DECREF(self->lastrowid); in _pysqlite_query_execute() 574 lastrowid = sqlite3_last_insert_rowid(self->connection->db); in _pysqlite_query_execute() local 576 self->lastrowid = PyLong_FromLongLong(lastrowid); in _pysqlite_query_execute() 898 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), READONLY},
|
D | cursor.h | 40 PyObject* lastrowid; member
|
/external/python/cpython3/Lib/sqlite3/test/ |
D | dbapi.py | 248 self.cu.execute("select name from test where id=?", (self.cu.lastrowid,)) 496 self.assertEqual(self.cu.lastrowid, 1) 502 self.assertEqual(self.cu.lastrowid, 2) 506 self.assertEqual(self.cu.lastrowid, 2) 514 results.append((statement, self.cu.lastrowid)) 517 results.append((statement, self.cu.lastrowid))
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a3.rst | 268 sqlite3.Cursor.lastrowid now supports REPLACE statement. Initial patch by
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | dbapi.py | 210 self.cu.execute("select name from test where id=?", (self.cu.lastrowid,))
|
/external/python/cpython2/Doc/library/ |
D | sqlite3.rst | 583 .. attribute:: lastrowid 588 called, :attr:`lastrowid` is set to :const:`None`.
|
/external/python/cpython3/Doc/library/ |
D | sqlite3.rst | 707 .. attribute:: lastrowid 712 ``REPLACE`` or when :meth:`executemany` is called, :attr:`lastrowid` is
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.3rc1.rst | 857 Fix sqlite3.Cursor.lastrowid under a Turkish locale. Reported and diagnosed
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 1399 :attr:`sqlite3.Cursor.lastrowid` now supports the ``REPLACE`` statement.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9170 - Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.
|