Function goatns::db::get_zone_with_txn

source ·
pub async fn get_zone_with_txn(
    txn: &mut SqliteConnection,
    id: Option<i64>,
    name: Option<String>
) -> Result<Option<FileZone>, Error>
Expand description

Query the zones table, name_or_id can be the zoneid or the name - if they match then you’re bad and you should feel bad.