Home
last modified time | relevance | path

Searched refs:lastrowid (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Modules/_sqlite/
Dcursor.c94 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},
Dcursor.h39 PyObject* lastrowid; member
/external/python/cpython3/Modules/_sqlite/
Dcursor.c51 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},
Dcursor.h40 PyObject* lastrowid; member
/external/python/cpython3/Lib/sqlite3/test/
Ddbapi.py248 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/
D3.6.0a3.rst268 sqlite3.Cursor.lastrowid now supports REPLACE statement. Initial patch by
/external/python/cpython2/Lib/sqlite3/test/
Ddbapi.py210 self.cu.execute("select name from test where id=?", (self.cu.lastrowid,))
/external/python/cpython2/Doc/library/
Dsqlite3.rst583 .. attribute:: lastrowid
588 called, :attr:`lastrowid` is set to :const:`None`.
/external/python/cpython3/Doc/library/
Dsqlite3.rst707 .. attribute:: lastrowid
712 ``REPLACE`` or when :meth:`executemany` is called, :attr:`lastrowid` is
/external/python/cpython2/Misc/NEWS.d/
D2.7.3rc1.rst857 Fix sqlite3.Cursor.lastrowid under a Turkish locale. Reported and diagnosed
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1399 :attr:`sqlite3.Cursor.lastrowid` now supports the ``REPLACE`` statement.
/external/python/cpython3/Misc/
DHISTORY9170 - Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.