Skip to main content

is_copy_from_stdin

Function is_copy_from_stdin 

Source
pub(crate) fn is_copy_from_stdin(statement: &Statement) -> bool
Expand description

Whether an already-parsed statement is a COPY ... FROM STDIN; used to reject copy-in statements trailing other statements, where the textual scanner (which only sees statement-leading COPYs) does not see them.