Add search terms to reject (#9996)

# Description
This may be easy to find/confuse with `drop`


# User-Facing Changes
Users coming from SQL will be happier when using `help -f` or `F1`

# Tests + Formatting
None
This commit is contained in:
Stefan Holderbach 2023-08-13 20:27:29 +02:00 committed by GitHub
parent 7b1c7debcb
commit 3bd46fe27a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,6 +36,10 @@ impl Command for Reject {
"To remove a quantity of rows or columns, use `skip`, `drop`, or `drop column`."
}
fn search_terms(&self) -> Vec<&str> {
vec!["drop", "key"]
}
fn run(
&self,
engine_state: &EngineState,