Searched refs:rowcount (Results 1 – 15 of 15) sorted by relevance
/external/autotest/database/ |
D | database_connection.py | 33 self.rowcount = None 55 self.rowcount = self._cursor.rowcount 167 self.rowcount = None 314 self.rowcount = self._backend.rowcount
|
D | migrate.py | 163 assert self._database.rowcount == 1 175 assert self._database.rowcount == 1
|
D | database_connection_unittest.py | 44 self._fake_backend.rowcount = 0
|
/external/python/cpython2/Modules/_sqlite/ |
D | cursor.c | 100 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},
|
D | cursor.h | 40 long rowcount; member
|
/external/python/cpython3/Modules/_sqlite/ |
D | cursor.c | 61 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},
|
D | cursor.h | 40 long rowcount; member
|
/external/python/cpython3/Doc/includes/sqlite3/ |
D | shortcut_methods.py | 20 print("I just deleted", con.execute("delete from person").rowcount, "rows")
|
/external/python/cpython2/Doc/includes/sqlite3/ |
D | shortcut_methods.py | 20 print "I just deleted", con.execute("delete from person").rowcount, "rows"
|
/external/autotest/frontend/migrations/ |
D | 037_db_constraints.py | 31 deleted_count = manager._database.rowcount
|
/external/python/cpython2/Lib/sqlite3/test/ |
D | dbapi.py | 309 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/ |
D | dbapi.py | 330 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/ |
D | sqlite3.rst | 565 .. 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/ |
D | sqlite3.rst | 675 .. 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/ |
D | models.py | 105 return cursor.rowcount
|