pub struct SqlUnanalyzableStatement {
pub line: usize,
pub column: usize,
pub head: String,
pub valid_unsupported: bool,
pub procedural_body: bool,
pub source_order: Vec<usize>,
pub insert_keyword_count: usize,
pub recovered_insert_count: usize,
pub has_top_level_not_exists: bool,
pub schema_unanalyzable: bool,
pub statement_unanalyzable: bool,
}Expand description
One SQL chunk that lenient parsing recovered partially or could not recover.
Fields§
§line: usize§column: usize§head: String§valid_unsupported: boolA complete, narrowly recognized PostgreSQL grammar unsupported by the AST parser.
procedural_body: boolUncertainty inside an identified procedural body, including malformed body SQL.
source_order: Vec<usize>Lexical statement ordinals, including enclosing routine bodies.
insert_keyword_count: usizeINSERT relevance belongs to this failed chunk, never a valid sibling.
recovered_insert_count: usizeSuccessfully recovered INSERTs from this same failed chunk.
has_top_level_not_exists: bool§schema_unanalyzable: boolPartial AST recovery can prove schema facts while leaving DML uncertainty.
statement_unanalyzable: boolA failed routine wrapper leaves statement diagnostics to its exact lexical leaf.
Trait Implementations§
Source§impl Clone for SqlUnanalyzableStatement
impl Clone for SqlUnanalyzableStatement
Source§impl Debug for SqlUnanalyzableStatement
impl Debug for SqlUnanalyzableStatement
impl Eq for SqlUnanalyzableStatement
Source§impl PartialEq for SqlUnanalyzableStatement
impl PartialEq for SqlUnanalyzableStatement
impl StructuralPartialEq for SqlUnanalyzableStatement
Auto Trait Implementations§
impl Forget for SqlUnanalyzableStatement
impl Freeze for SqlUnanalyzableStatement
impl Move for SqlUnanalyzableStatement
impl RefUnwindSafe for SqlUnanalyzableStatement
impl Send for SqlUnanalyzableStatementwhere
RawVecInner: Send,
impl Sync for SqlUnanalyzableStatementwhere
RawVecInner: Sync,
impl Unpin for SqlUnanalyzableStatement
impl UnsafeUnpin for SqlUnanalyzableStatementwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for SqlUnanalyzableStatementwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more