We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f6b1d commit 65dbd09Copy full SHA for 65dbd09
crates/pg_schema_cache/src/schema_cache.rs
@@ -66,7 +66,7 @@ impl SchemaCache {
66
self.columns.iter().find(|c| {
67
c.name.as_str() == name
68
&& c.table_name.as_str() == table
69
- && schema.is_none_or(|s| s == c.schema_name.as_str())
+ && schema.map_or(true, |s| s == c.schema_name.as_str())
70
})
71
}
72
0 commit comments