Add search terms for uppercase (#6720)

* Add search terms for uppercase

* Add search terms

* Add search terms

* Change to parse

* Add search terms for from

* Add search terms for to

* Remove duplicate function

* Remove duplication of search terms

* Remove search term
This commit is contained in:
Zephaniah Ong 2022-10-14 18:36:31 +08:00 committed by GitHub
parent 9446e3960b
commit 804b155035
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -19,6 +19,10 @@ impl Command for ToUpperCase {
"Uppercase the strings in the column" "Uppercase the strings in the column"
} }
fn search_terms(&self) -> Vec<&str> {
vec!["capitalize, caps, capital"]
}
fn signature(&self) -> Signature { fn signature(&self) -> Signature {
Signature::build(self.name()) Signature::build(self.name())
.input_type(Type::Custom("dataframe".into())) .input_type(Type::Custom("dataframe".into()))

View File

@ -66,10 +66,6 @@ impl Command for ToText {
}, },
] ]
} }
fn search_terms(&self) -> Vec<&str> {
vec!["convert"]
}
} }
fn local_into_string(value: Value, separator: &str, config: &Config) -> String { fn local_into_string(value: Value, separator: &str, config: &Config) -> String {