mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-10 05:52:13 +00:00
Support triple quoted strings (#1262)
This commit is contained in:
parent
e3692f4681
commit
036a4120b4
6 changed files with 592 additions and 62 deletions
|
@ -231,6 +231,11 @@ pub trait Dialect: Debug + Any {
|
|||
fn convert_type_before_value(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialect supports triple quoted string
|
||||
/// e.g. `"""abc"""`
|
||||
fn supports_triple_quoted_string(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Dialect-specific prefix parser override
|
||||
fn parse_prefix(&self, _parser: &mut Parser) -> Option<Result<Expr, ParserError>> {
|
||||
// return None to fall back to the default behavior
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue