Struct sql_parse::ParseOptions
source · pub struct ParseOptions { /* private fields */ }
Expand description
Options used when parsing sql
Implementations§
source§impl ParseOptions
impl ParseOptions
pub fn new() -> Self
sourcepub fn dialect(self, dialect: SQLDialect) -> Self
pub fn dialect(self, dialect: SQLDialect) -> Self
Change whan SQL dialect to use
sourcepub fn arguments(self, arguments: SQLArguments) -> Self
pub fn arguments(self, arguments: SQLArguments) -> Self
Change what kinds of arguments are supplied
sourcepub fn warn_unquoted_identifiers(self, warn_unquoted_identifiers: bool) -> Self
pub fn warn_unquoted_identifiers(self, warn_unquoted_identifiers: bool) -> Self
Should we warn about unquoted identifiers
sourcepub fn warn_none_capital_keywords(self, warn_none_capital_keywords: bool) -> Self
pub fn warn_none_capital_keywords(self, warn_none_capital_keywords: bool) -> Self
Should we warn about unquoted identifiers
Trait Implementations§
source§impl Clone for ParseOptions
impl Clone for ParseOptions
source§fn clone(&self) -> ParseOptions
fn clone(&self) -> ParseOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more