Home
last modified time | relevance | path

Searched refs:detect_types (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Doc/includes/sqlite3/
Dconverter_point.py27 con = sqlite3.connect(":memory:", detect_types=sqlite3.PARSE_DECLTYPES)
39 con = sqlite3.connect(":memory:", detect_types=sqlite3.PARSE_COLNAMES)
Dpysqlite_datetime.py4 con = sqlite3.connect(":memory:", detect_types=sqlite3.PARSE_DECLTYPES|sqlite3.PARSE_COLNAMES)
/third_party/python/Lib/sqlite3/test/
Dregression.py44 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES)
125 con = sqlite.connect(":memory:",detect_types=sqlite.PARSE_DECLTYPES)
141 con = sqlite.connect(":memory:",detect_types=sqlite.PARSE_DECLTYPES)
314 con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES)
Dtypes.py111 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES)
265 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES)
391 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_COLNAMES)
404 self.con = sqlite.connect(":memory:", detect_types=sqlite.PARSE_DECLTYPES)
/third_party/python/Modules/_sqlite/
Dcursor.c161 if (!self->connection->detect_types) { in pysqlite_build_row_cast_map()
173 if (self->connection->detect_types & PARSE_COLNAMES) { in pysqlite_build_row_cast_map()
196 if (!converter && self->connection->detect_types & PARSE_DECLTYPES) { in pysqlite_build_row_cast_map()
235 if (self->connection->detect_types & PARSE_COLNAMES) { in _pysqlite_build_column_name()
286 if (self->connection->detect_types in _pysqlite_fetch_one_row()
Dmodule.c72 int detect_types = 0; in module_connect() local
81 &database, &timeout, &detect_types, in module_connect()
Dconnection.h43 int detect_types; member
Dconnection.c72 int detect_types = 0; in pysqlite_connection_init() local
82 PyUnicode_FSConverter, &database_obj, &timeout, &detect_types, in pysqlite_connection_init()
163 self->detect_types = detect_types; in pysqlite_connection_init()
/third_party/python/Doc/library/
Dsqlite3.rst184 This constant is meant to be used with the *detect_types* parameter of the
197 This constant is meant to be used with the *detect_types* parameter of the
211 .. function:: connect(database[, timeout, detect_types, isolation_level, check_same_thread, factory…
232 *detect_types* parameter and the using custom **converters** registered with the
235 *detect_types* defaults to 0 (i. e. off, no type detection), you can set it to
238 fields (for example ``max(data)``), even when *detect_types* parameter is set. In
284 the type *typename*. Confer the parameter *detect_types* of the :func:`connect`