appcore-sync-sqlite 0.1.0-alpha.2

Bounded SQLite persistence provider for AppCore synchronization state.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# Store SQLite de sync básico

```rust
use appcore_sync_sqlite::{SqliteSyncConfig, SqliteSyncStore};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let store = SqliteSyncStore::open(SqliteSyncConfig::new("runtime/sync.db"))?;
    let health = store.health()?;
    println!("schema={} paginas={}", health.schema_version, health.page_count);
    Ok(())
}
```