Searched refs:row_factory (Results 1 – 9 of 9) sorted by relevance
/third_party/python/Lib/sqlite3/test/ |
D | factory.py | 40 self.row_factory = dict_factory 94 self.con.row_factory = lambda cur, row: list(row) 99 self.con.row_factory = sqlite.Row 128 self.con.row_factory = sqlite.Row 138 self.con.row_factory = sqlite.Row 156 self.con.row_factory = sqlite.Row 163 self.con.row_factory = sqlite.Row 170 self.con.row_factory = sqlite.Row 178 self.con.row_factory = sqlite.Row 212 self.con.row_factory = sqlite.Row [all …]
|
D | dump.py | 59 self.cx.row_factory = UnorderableRow
|
/third_party/python/Modules/_sqlite/ |
D | cursor.c | 69 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init_impl() 92 Py_VISIT(self->row_factory); in cursor_traverse() 105 Py_CLEAR(self->row_factory); in cursor_clear() 799 if (self->row_factory != Py_None) { in pysqlite_cursor_iternext() 800 next_row = PyObject_CallFunction(self->row_factory, "OO", self, next_row_tuple); in pysqlite_cursor_iternext() 1015 {"row_factory", T_OBJECT, offsetof(pysqlite_Cursor, row_factory), 0},
|
D | connection.c | 103 Py_XSETREF(self->row_factory, Py_None); in pysqlite_connection_init() 241 Py_VISIT(self->row_factory); in connection_traverse() 257 Py_CLEAR(self->row_factory); in connection_clear() 343 if (cursor && self->row_factory != Py_None) { in pysqlite_connection_cursor_impl() 344 Py_INCREF(self->row_factory); in pysqlite_connection_cursor_impl() 345 Py_XSETREF(((pysqlite_Cursor *)cursor)->row_factory, self->row_factory); in pysqlite_connection_cursor_impl() 1958 {"row_factory", T_OBJECT, offsetof(pysqlite_Connection, row_factory)},
|
D | cursor.h | 42 PyObject* row_factory; member
|
D | connection.h | 78 PyObject* row_factory; member
|
/third_party/python/Doc/includes/sqlite3/ |
D | rowclass.py | 4 con.row_factory = sqlite3.Row
|
D | row_factory.py | 10 con.row_factory = dict_factory
|
/third_party/python/Doc/library/ |
D | sqlite3.rst | 546 .. attribute:: row_factory 555 .. literalinclude:: ../includes/sqlite3/row_factory.py 558 columns, you should consider setting :attr:`row_factory` to the 815 :attr:`~Connection.row_factory` for :class:`Connection` objects. 846 >>> con.row_factory = sqlite3.Row
|