Function goatns::db::get_records

source ·
pub async fn get_records(
    conn: &Pool<Sqlite>,
    name: String,
    rrtype: RecordType,
    rclass: RecordClass,
    normalize_ttls: bool
) -> Result<Vec<InternalResourceRecord>, Error>
Expand description

Pull a vec of InternalResourceRecords directly from the database

Setting normalize_ttls=true sets the TTL on all records to the LOWEST of the returned records.