Home
last modified time | relevance | path

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

/third_party/python/Modules/_sqlite/
Dcursor.c60 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init_impl()
91 Py_VISIT(self->lastrowid); in cursor_traverse()
104 Py_CLEAR(self->lastrowid); in cursor_clear()
430 sqlite_int64 lastrowid; in _pysqlite_query_execute() local
603 lastrowid = sqlite3_last_insert_rowid(self->connection->db); in _pysqlite_query_execute() local
605 Py_SETREF(self->lastrowid, PyLong_FromLongLong(lastrowid)); in _pysqlite_query_execute()
606 if (self->lastrowid == NULL) { in _pysqlite_query_execute()
1013 {"lastrowid", T_OBJECT, offsetof(pysqlite_Cursor, lastrowid), READONLY},
Dcursor.h40 PyObject* lastrowid; member
/third_party/python/Lib/sqlite3/test/
Ddbapi.py274 self.cu.execute("select name from test where id=?", (self.cu.lastrowid,))
525 self.assertEqual(self.cu.lastrowid, 1)
531 self.assertEqual(self.cu.lastrowid, 2)
535 self.assertEqual(self.cu.lastrowid, 2)
543 results.append((statement, self.cu.lastrowid))
546 results.append((statement, self.cu.lastrowid))
/third_party/python/Misc/NEWS.d/
D3.6.0a3.rst268 sqlite3.Cursor.lastrowid now supports REPLACE statement. Initial patch by
/third_party/python/Doc/library/
Dsqlite3.rst767 .. attribute:: lastrowid
773 the value of ``lastrowid`` is left unchanged. The initial value of
774 ``lastrowid`` is :const:`None`.
/third_party/python/Doc/whatsnew/
D3.6.rst1399 :attr:`sqlite3.Cursor.lastrowid` now supports the ``REPLACE`` statement.
/third_party/python/Misc/
DHISTORY9170 - Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.