pub fn execute_single_statement<'a>(
session: &'a mut CqlSession,
config: &'a MergedConfig,
colorizer: &'a CqlColorizer,
debug: &'a mut bool,
input: &'a str,
source_name: Option<&'a str>,
line_number: usize,
writer: &'a mut dyn Write,
) -> Pin<Box<dyn Future<Output = bool> + 'a>>Expand description
Execute a single CQL statement or shell command in non-interactive mode.
Output is written to writer; errors and warnings are written to stderr.
debug is mutable so that DEBUG ON/OFF affects subsequent statements.
Returns true on success, false on error.