PyDocs

Nav

Data Persistence

Connection.text_factory

sqlite3

attribute of Connection
A callable that accepts a bytes parameter and returns a text representation of it. The callable is invoked for SQLite values with the TEXT data type. By default, this attribute is set to str.
Changed in 3.15
  • 3.15: Deleting the text_factory attribute is no longer allowed.
0 Examples
No examples for sqlite3/Connection.text_factory.
See Also
No see-alsos for sqlite3/Connection.text_factory
0 Notes
No notes for Connection.text_factory