For example, the fetchall method can be used to convert the result to Python objects. results = duckdb.sql("SELECT 42").fetchall() print(results) # [(42,)].
確定! 回上一頁