Home
last modified time | relevance | path

Searched refs:rowcount (Results 1 – 15 of 15) sorted by relevance

/external/autotest/database/
Ddatabase_connection.py33 self.rowcount = None
55 self.rowcount = self._cursor.rowcount
167 self.rowcount = None
314 self.rowcount = self._backend.rowcount
Dmigrate.py163 assert self._database.rowcount == 1
175 assert self._database.rowcount == 1
Ddatabase_connection_unittest.py44 self._fake_backend.rowcount = 0
/external/python/cpython2/Modules/_sqlite/
Dcursor.c100 self->rowcount = -1L; in pysqlite_cursor_init()
545 self->rowcount = -1L; in _pysqlite_query_execute()
719 if (self->rowcount == -1L) { in _pysqlite_query_execute()
720 self->rowcount = 0L; in _pysqlite_query_execute()
722 self->rowcount += (long)sqlite3_changes(self->connection->db); in _pysqlite_query_execute()
761 self->rowcount = -1L; in _pysqlite_query_execute()
1065 {"rowcount", T_LONG, offsetof(pysqlite_Cursor, rowcount), RO},
Dcursor.h40 long rowcount; member
/external/python/cpython3/Modules/_sqlite/
Dcursor.c61 self->rowcount = -1L; in pysqlite_cursor_init()
474 self->rowcount = 0L; in _pysqlite_query_execute()
584 self->rowcount += (long)sqlite3_changes(self->connection->db); in _pysqlite_query_execute()
586 self->rowcount= -1L; in _pysqlite_query_execute()
625 self->rowcount = -1L; in _pysqlite_query_execute()
939 {"rowcount", T_LONG, offsetof(pysqlite_Cursor, rowcount), READONLY},
Dcursor.h40 long rowcount; member
/external/python/cpython3/Doc/includes/sqlite3/
Dshortcut_methods.py20 print("I just deleted", con.execute("delete from person").rowcount, "rows")
/external/python/cpython2/Doc/includes/sqlite3/
Dshortcut_methods.py20 print "I just deleted", con.execute("delete from person").rowcount, "rows"
/external/autotest/frontend/migrations/
D037_db_constraints.py31 deleted_count = manager._database.rowcount
/external/python/cpython2/Lib/sqlite3/test/
Ddbapi.py309 self.assertEqual(self.cu.rowcount, 2)
318 self.assertEqual(self.cu.rowcount, -1)
323 self.assertEqual(self.cu.rowcount, 3)
/external/python/cpython3/Lib/sqlite3/test/
Ddbapi.py330 self.assertEqual(self.cu.rowcount, 2)
339 self.assertEqual(self.cu.rowcount, -1)
344 self.assertEqual(self.cu.rowcount, 3)
/external/python/cpython2/Doc/library/
Dsqlite3.rst565 .. attribute:: rowcount
572 into :attr:`rowcount`.
574 As required by the Python DB API Spec, the :attr:`rowcount` attribute "is -1 in
575 case no ``executeXX()`` has been performed on the cursor or the rowcount of the
580 With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if
/external/python/cpython3/Doc/library/
Dsqlite3.rst675 .. attribute:: rowcount
682 into :attr:`rowcount`.
684 As required by the Python DB API Spec, the :attr:`rowcount` attribute "is -1 in
685 case no ``executeXX()`` has been performed on the cursor or the rowcount of the
690 With SQLite versions before 3.6.5, :attr:`rowcount` is set to 0 if
/external/autotest/frontend/tko/
Dmodels.py105 return cursor.rowcount