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

Method reset_hint

datafusion-cli/src/helper.rs:72–74  ·  view source on GitHub ↗

Re-enable the default hint for the next prompt.

(&self)

Source from the content-addressed store, hash-verified

70
71 /// Re-enable the default hint for the next prompt.
72 pub fn reset_hint(&self) {
73 self.show_hint.set(true);
74 }
75
76 fn validate_input(&self, input: &str) -> Result<ValidationResult> {
77 if let Some(sql) = input.strip_suffix(';') {

Callers 2

exec_from_replFunction · 0.80
validateMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected