⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 1 of about 1 for memoryview (0.001 sec.)
Conversion between DuckDB and Python 9414
This page documents the rules for converting DuckDB results to Python and Python objects to DuckDB . Result Conversion: DuckDB Results to Python A result is read from a relation or, when using the DB-API / con.execute() , from the connectio ... ct types to DuckDB Logical Types : None → NULL bool → BOOLEAN datetime.timedelta → INTERVAL str → VARCHAR bytearray → BLOB memoryview → BLOB decimal.Decimal → DECIMAL / DOUBLE / FLOAT uuid.UUID → UUID The rest of the conversion rules are as follows. str A ... ogate ( "\ud800" ), raises an InvalidInputException that says it cannot encode str as UTF-8 . The connection stays usable. memoryview A memoryview converts to a BLOB of the bytes it shows. As a query parameter, it must be contiguous: a strided view such as ... memoryview(b"abcdef")[::2] raises BufferError: memoryview: underlying buffer is not C-contiguous . values() and expressions accept it ...
https://man.mtool.work/duckdb/2.0/clients/python/conversion.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work