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§

example
Example demonstrating sqlx query patterns for mapping Rust types to database.
kind
Database kind types for identifying different database instances.
models
Database models for Holochain data structures.
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

Enums§

DbSyncLevel
SQLite synchronous level configuration.

Traits§

DatabaseIdentifier

Functions§

open_db
Open a database connection at the given directory path.