duckdb #3881
duckdb
#3881
-
|
duckdb: |
Beta Was this translation helpful? Give feedback.
Answered by
ndonkoHenri
Jun 20, 2026
Replies: 1 comment
-
|
duckdb 1.5.4 is now available for Flet mobile apps (iOS + Android). Just add it to your dependencies and # pyproject.toml
dependencies = [
"flet",
"duckdb",
]Notes:
import duckdb
con = duckdb.connect(":memory:")
con.execute("CREATE TABLE t(id INTEGER, name VARCHAR)")
con.executemany("INSERT INTO t VALUES (?, ?)", [(1, "apple"), (2, "banana")])
print(con.execute("SELECT id, name FROM t ORDER BY id").fetchall())
con.close() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ndonkoHenri
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
duckdb 1.5.4 is now available for Flet mobile apps (iOS + Android). Just add it to your dependencies and
flet buildpulls the right iOS/Android wheels automatically:Notes:
duckdb.connect(":memory:")) or a file in your app's storage. (I tested this on Android and iOS with real SQL queries).sois ~15–18 MB per architecture, so it adds notably to app size. Worth it if you need analytical SQL on-device.