pub struct JsonExtractFunc {
pub this: Expression,
pub path: Expression,
pub returning: Option<DataType>,
pub arrow_syntax: bool,
pub hash_arrow_syntax: bool,
pub wrapper_option: Option<String>,
pub quotes_option: Option<String>,
pub on_scalar_string: bool,
pub on_error: Option<String>,
}Expand description
JSON_EXTRACT / JSON_EXTRACT_SCALAR function
Fields§
§this: Expression§path: Expression§returning: Option<DataType>§arrow_syntax: boolTrue if parsed from -> or ->> operator syntax
hash_arrow_syntax: boolTrue if parsed from #>> operator syntax (PostgreSQL JSONB path text extraction)
wrapper_option: Option<String>Wrapper option: WITH/WITHOUT [CONDITIONAL|UNCONDITIONAL] [ARRAY] WRAPPER
quotes_option: Option<String>Quotes handling: KEEP QUOTES or OMIT QUOTES
on_scalar_string: boolON SCALAR STRING flag
on_error: Option<String>Error handling: NULL ON ERROR, ERROR ON ERROR, etc.
Trait Implementations§
Source§impl Clone for JsonExtractFunc
impl Clone for JsonExtractFunc
Source§fn clone(&self) -> JsonExtractFunc
fn clone(&self) -> JsonExtractFunc
Returns a duplicate 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 JsonExtractFunc
impl Debug for JsonExtractFunc
Source§impl<'de> Deserialize<'de> for JsonExtractFunc
impl<'de> Deserialize<'de> for JsonExtractFunc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsonExtractFunc
impl PartialEq for JsonExtractFunc
Source§impl Serialize for JsonExtractFunc
impl Serialize for JsonExtractFunc
impl StructuralPartialEq for JsonExtractFunc
Auto Trait Implementations§
impl Freeze for JsonExtractFunc
impl RefUnwindSafe for JsonExtractFunc
impl Send for JsonExtractFunc
impl Sync for JsonExtractFunc
impl Unpin for JsonExtractFunc
impl UnwindSafe for JsonExtractFunc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more