0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-03-02 04:06:02 +00:00
Commit Graph

14 Commits

Author SHA1 Message Date
3ab820d57d Add libsql_open_sync_with_config ()
Bindings: Add libsql_open_sync_with_config

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-07-17 12:46:34 +00:00
a9835eeae1 C bindings: add libsql_open_sync_with_webpki and libsql_open_remote_w… ()
C bindings: add libsql_open_sync_with_webpki and libsql_open_remote_with_webpki

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-06-03 18:49:58 +00:00
aadb52ccf4 Define column types ()
Fixes 

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-05-26 15:18:38 +00:00
38dcdb18b7 Add libsql_reset_stmt ()
Fixes 

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-05-26 14:36:54 +00:00
f3da77e705 Go bindings: separate query and exec ()
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-03-12 12:40:03 +00:00
4b2732c5e2 Go: Reset connection when it's returned to a pool ()
* Make all methods of Conn trait async

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* C bindings: Add libsql_reset

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

---------

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-02-29 10:09:07 +00:00
c41e17a998 Encryption in Go SDK ()
* Go tests: Run less tests in parallel

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* Go bindings: Read your writes

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* Go bindings: encryption

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* Don't panic when encryption fails

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

* Go bindings: Encryption test

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>

---------

Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-02-29 07:55:49 +00:00
992b450bfb Go bindings: Implement transactions + tests ()
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-02-08 15:39:39 +00:00
8d715223a8 C/Go bindings: Use libsql::Statement in prepare ()
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-01-29 13:21:15 +00:00
b02947daef Go bindings add positional parameters ()
Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>
2024-01-25 10:05:40 +00:00
f275f24ce2 bindings/c: Implement libsql_open_{file,remote} API
The libsql_open_ext() API does not support auth token. Let's add a
libsql_open_remote() API for establishing connection to remote database,
but also add a libsql_open_file() for what libsql_open_ext() does so
that we can deprecate it in the future.
2023-12-16 14:52:27 +02:00
9a1b686c61 bindings/c: Implement libsql_last_insert_rowid() 2023-11-17 13:00:49 +02:00
a782fdabea bindings/c: Implement libsql_changes() 2023-11-17 13:00:01 +02:00
07782b2263 move crates to root 2023-10-16 09:06:25 -07:00