Enum sqlparser::ast::JsonOperator
source · pub enum JsonOperator {
Arrow,
LongArrow,
HashArrow,
HashLongArrow,
Colon,
}Expand description
JsonOperator
Variants§
Arrow
-> keeps the value as json
LongArrow
->> keeps the value as text or int.
HashArrow
#> Extracts JSON sub-object at the specified path
HashLongArrow
#>> Extracts JSON sub-object at the specified path as text
Colon
: Colon is used by Snowflake (Which is similar to LongArrow)
Trait Implementations§
source§impl Clone for JsonOperator
impl Clone for JsonOperator
source§fn clone(&self) -> JsonOperator
fn clone(&self) -> JsonOperator
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