ensure_library

Function ensure_library 

Source
async fn ensure_library(
    pool: &SqlitePool,
    path: &str,
    name: &str,
) -> Result<i64, Error>
Expand description

Ensures the library row exists and returns its id.