MCPcopy Create free account
hub / github.com/apache/datafusion / has_column_with_unqualified_name

Method has_column_with_unqualified_name

datafusion/common/src/dfschema.rs:571–573  ·  view source on GitHub ↗

Find if the field exists with the given name

(&self, name: &str)

Source from the content-addressed store, hash-verified

569
570 /// Find if the field exists with the given name
571 pub fn has_column_with_unqualified_name(&self, name: &str) -> bool {
572 self.fields().iter().any(|field| field.name() == name)
573 }
574
575 /// Find if the field exists with the given qualified name
576 pub fn has_column_with_qualified_name(

Callers 2

has_columnMethod · 0.80

Calls 4

anyMethod · 0.45
iterMethod · 0.45
fieldsMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected