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 moresource§impl Debug for JsonOperator
impl Debug for JsonOperator
source§impl Display for JsonOperator
impl Display for JsonOperator
source§impl Hash for JsonOperator
impl Hash for JsonOperator
source§impl Ord for JsonOperator
impl Ord for JsonOperator
source§fn cmp(&self, other: &JsonOperator) -> Ordering
fn cmp(&self, other: &JsonOperator) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<JsonOperator> for JsonOperator
impl PartialEq<JsonOperator> for JsonOperator
source§fn eq(&self, other: &JsonOperator) -> bool
fn eq(&self, other: &JsonOperator) -> bool
source§impl PartialOrd<JsonOperator> for JsonOperator
impl PartialOrd<JsonOperator> for JsonOperator
source§fn partial_cmp(&self, other: &JsonOperator) -> Option<Ordering>
fn partial_cmp(&self, other: &JsonOperator) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more