//! Tools for querying the SQLite database
use ;
use DeserializeOwned;
use ;
/// Fetches all torrents from the database
///
/// ## Example
/// ```rs
/// let all_torrents = DB::fetch_all_torrents(&db, "SELECT * from torrents").unwrap_or_else(|err| {
/// println!("Could not fetch torrents: {err}");
/// process::exit(1);
/// });
/// ```