athena_rs 3.26.3

Hyper performant polyglot Database driver
1
2
3
4
5
6
7
8
9
10
11
12
//! Relation-type comparison policy for `/debug/schema`.
//!
//! This module owns relation-type match behavior for expected-vs-observed table
//! diagnostics.

/// Returns whether observed relation type matches expected relation type.
pub(super) fn relation_type_matches(
    observed_relation_type: &str,
    expected_relation_type: &str,
) -> bool {
    observed_relation_type.eq_ignore_ascii_case(expected_relation_type)
}