Crate libsql_client
source ·Expand description
A library for communicating with a libSQL database over HTTP.
libsql-client is a lightweight HTTP-based driver for sqld, which is a server mode for libSQL, which is an open-contribution fork of SQLite.
libsql-client compiles to wasm32-unknown-unknown target, which makes it a great driver for environments that run on WebAssembly.
Re-exports§
pub use statement::Statement;
pub use client::Client;
pub use client::Config;
pub use client::SyncClient;
pub use transaction::SyncTransaction;
pub use transaction::Transaction;
pub use worker;
Modules§
- Client is the main structure to interact with the database.
- libsql deserialization utilities.
proto
contains libSQL/sqld/hrana wire protocol.Statement
represents an SQL statement, which can be later sent to a database.Transaction
is a structure representing an interactive transaction.
Macros§
- A macro for passing parameters to statements without having to manually define their types.
Structs§
- Represents the result of a database query
- Represents a row returned from the database.