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 e116332 commit 1971f6cCopy full SHA for 1971f6c
crates/pgt_completions/src/relevance/filtering.rs
@@ -144,13 +144,10 @@ impl CompletionFilter<'_> {
144
.get(schema_or_alias)
145
.is_some_and(|t| t == &col.table_name),
146
147
- CompletionRelevanceData::Schema(_) => {
148
- // we should never allow schema suggestions if there already was one.
149
- false
150
- }
151
-
+ // we should never allow schema suggestions if there already was one.
+ CompletionRelevanceData::Schema(_) => false,
152
// no aliases and schemas for policies
153
- CompletionRelevanceData::Policy(p) => &p.schema_name == schema_or_alias,
+ CompletionRelevanceData::Policy(_) => false,
154
};
155
156
if !matches {
0 commit comments