Skip to main content

Crate holochain_data

Crate holochain_data 

Source
Expand description

A wrapper around sqlx, configured for use in Holochain.

This crate provides a configured SQLite connection pool for use in Holochain.

Modules§

conductor
Conductor database operations.
dht
DHT database operations.
example
Examples demonstrating compile-time checked sqlx query patterns.
kind
Database kind types for identifying different database instances.
models
Database models for Holochain data structures.
peer_meta_store
Operations for the peer metadata store database.
wasm
Operations for the Wasm database.

Structs§

DbKey
Secure database access.
DbRead
A read-only database handle.
DbWrite
A read-write database handle.
HolochainDataConfig
Configuration options for Holochain database connections.
HolochainDbConn
TxRead
A read-only database transaction handle.
TxWrite
A read-write database transaction handle.

Enums§

DbSyncLevel
SQLite synchronous level configuration.

Traits§

DatabaseIdentifier
Identifies a specific database file and the schema it expects.

Functions§

open_db
Open a database connection at the given directory path.