Commit graph

143 commits

Author SHA1 Message Date
Nikita Sivukhin
5ab69bcf20 rename speculative load to prefetch (docs already uses this terminology) 2025-12-16 13:59:39 +04:00
Pekka Enberg
df9c39cd1c core: Fix integrity_check pragma code generation
The translate_integrity_check function was missing a call to
add_pragma_result_column, causing num_columns() to return 0.
This made the Python bindings treat it as a non-row-returning
statement, finalizing it during execute() and leaving fetchone()
to return None instead of ("ok",).

Spotted by Antithesis.
2025-12-15 09:46:46 +02:00
Preston Thorpe
73289c6325
Merge 'Go driver' from Nikita Sivukhin
This PR brings back go driver to the turso monorepo and adds sync
support for the golang.
It depends on the pre-compiled binaries at
https://github.com/tursodatabase/turso-go-platform-libs repository
There is a CI which trigger build on the turso-go-platform-libs repo in
case when release tag is published

Reviewed-by: Preston Thorpe <preston@turso.tech>

Closes #4085
2025-12-11 09:52:15 -05:00
Nikita Sivukhin
bd69bf2adb fix typo 2025-12-10 23:17:06 +04:00
Nikita Sivukhin
f409875c69 adjust python tests a little bit 2025-12-10 18:37:28 +04:00
Nikita Sivukhin
0c73e875eb fix assertion in python test 2025-12-10 18:23:44 +04:00
Nikita Sivukhin
16dd83441b fix python driver 2025-12-10 18:23:44 +04:00
Nikita Sivukhin
0a5715e70e uvx ruff check --fix 2025-12-10 17:58:49 +04:00
Nikita Sivukhin
337e3247d4 support libsql:// protocol as a sync url in python driver 2025-12-10 17:50:24 +04:00
Nikita Sivukhin
aac3a699ce fix partial sync config after rebase 2025-12-09 16:01:12 +04:00
Nikita Sivukhin
c1ca743503 adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
731b9c1ec9 reformat and adjust test 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
222fd8f98a update README 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
82fd3d0c2c adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4c5dfbaefe format fixes 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
4e910976d8 adjust tests 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
9be21e259a wip 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
a6454c8680 vibe coding aio python driver 2025-12-09 15:42:29 +04:00
Nikita Sivukhin
15fdd68892 format 2025-12-09 14:58:44 +04:00
Nikita Sivukhin
f513f66f20 cargo clippy --fix 2025-12-09 14:20:32 +04:00
Nikita Sivukhin
a9cc86954b fix python bindings 2025-12-09 14:12:18 +04:00
Nikita Sivukhin
dca6d0e05c fix bindings 2025-12-09 13:14:25 +04:00
Nikita Sivukhin
420037b82c use sdk-kit version in the pythod driver (just for consistency) 2025-12-04 23:27:35 +04:00
Nikita Sivukhin
7dd50abf2a format and restructure for sync package 2025-12-02 18:32:32 +04:00
Nikita Sivukhin
6e30a3ce90 cargo fmt 2025-12-02 18:18:14 +04:00
Nikita Sivukhin
201f3a55f6 fix clippy 2025-12-02 18:16:57 +04:00
Nikita Sivukhin
74d6e7d3a8 prompt fix just for the sake of consistency 2025-12-02 17:21:57 +04:00
Nikita Sivukhin
ae603000e1 implement simple turso-sync bindings for python 2025-12-02 17:18:46 +04:00
Nikita Sivukhin
8df7f7e416 adjust python bindings 2025-12-02 16:03:06 +04:00
Nikita Sivukhin
4d1c52a02f add extra_io parameter to the main python driver 2025-12-02 11:03:42 +04:00
Nikita Sivukhin
52f492b93d slightly adjust database sdk-kit 2025-12-01 22:55:15 +04:00
Nikita Sivukhin
769af9485e remove debug print 2025-11-28 03:31:46 +04:00
Nikita Sivukhin
4add1de3e7 uvx ruff check 2025-11-28 03:31:16 +04:00
Nikita Sivukhin
6d817530e2 cargo fmt 2025-11-28 03:24:04 +04:00
Nikita Sivukhin
863c9727cc uv format 2025-11-28 03:22:16 +04:00
Nikita Sivukhin
a5b0dc0980 clippy 2025-11-28 03:21:47 +04:00
Nikita Sivukhin
2b0c19289d fix rowcount calculation 2025-11-28 03:21:34 +04:00
Nikita Sivukhin
338846eeda bit more tests and fix __init__ 2025-11-28 02:51:58 +04:00
Nikita Sivukhin
40447299b9 refine prompt and regenerate bindings 2025-11-28 02:36:05 +04:00
Nikita Sivukhin
caefe25ad5 more tests from robots 2025-11-28 01:54:04 +04:00
Nikita Sivukhin
c84b51510b fix tests: bug in assertion + adjust driver usage in the tricky INSERT RETURNING test 2025-11-28 01:45:13 +04:00
Nikita Sivukhin
c95908bca5 uv format + remove unused imports 2025-11-28 01:42:11 +04:00
Nikita Sivukhin
5fb16eb9d1 generate tests with prompt 2025-11-28 01:39:25 +04:00
Nikita Sivukhin
37320099cc export Row from the module 2025-11-28 01:39:07 +04:00
Nikita Sivukhin
7f4ae07bb5 regenerate driver through prompt 2025-11-28 01:36:17 +04:00
Nikita Sivukhin
85985cb64a add comment to the python bindings 2025-11-28 01:35:58 +04:00
Nikita Sivukhin
dd913dec22 move connect at the top 2025-11-28 01:06:44 +04:00
Nikita Sivukhin
1c373fd275 vide code python bindings 2025-11-27 17:54:10 +04:00
Nikita Sivukhin
0c05cd3ca7 rewrite python bindings to be almost direct translation of sdk-kit 2025-11-27 17:53:31 +04:00
Nikita Sivukhin
78705493d8 use sdk-kit in python bindings 2025-11-27 14:12:08 +04:00