Searched refs:lastrowid (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 60 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},
|
D | cursor.h | 40 PyObject* lastrowid; member
|
/third_party/python/Lib/sqlite3/test/ |
D | dbapi.py | 274 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/ |
D | 3.6.0a3.rst | 268 sqlite3.Cursor.lastrowid now supports REPLACE statement. Initial patch by
|
/third_party/python/Doc/library/ |
D | sqlite3.rst | 767 .. attribute:: lastrowid 773 the value of ``lastrowid`` is left unchanged. The initial value of 774 ``lastrowid`` is :const:`None`.
|
/third_party/python/Doc/whatsnew/ |
D | 3.6.rst | 1399 :attr:`sqlite3.Cursor.lastrowid` now supports the ``REPLACE`` statement.
|
/third_party/python/Misc/ |
D | HISTORY | 9170 - Issue #13099: Fix sqlite3.Cursor.lastrowid under a Turkish locale.
|