ExtractSyntax in sqlparser::ast - Rust

Enum ExtractSyntax 

Source

pub enum ExtractSyntax {
    From,
    Comma,
}
Expand description
§

EXTRACT( <date_or_time_part> FROM <date_or_time_expr> )

§

EXTRACT( <date_or_time_part> , <date_or_timestamp_expr> )

Source§

Tests for self and other values to be equal, and is used by ==.

1.0.0 · Source§

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Source§

This method returns an ordering between self and other values if one exists. Read more

1.0.0 · Source§

Tests less than (for self and other) and is used by the < operator. Read more

1.0.0 · Source§

Tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0 · Source§

Tests greater than (for self and other) and is used by the > operator. Read more

1.0.0 · Source§

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more