Struct NestedPathBuilder
pub struct NestedPathBuilder { /* private fields */ }Expand description
Builder for NESTED PATH columns in JSON_TABLE
Implementations§
§impl NestedPathBuilder
impl NestedPathBuilder
pub fn json_path_name<T>(self, name: T) -> Self
pub fn json_path_name<T>(self, name: T) -> Self
Set the JSON path name (AS clause)
pub fn ordinality_column<N>(self, name: N) -> Self
pub fn ordinality_column<N>(self, name: N) -> Self
Add a FOR ORDINALITY column to the nested path
pub fn explicit_path(self, value: bool) -> Self
pub fn explicit_path(self, value: bool) -> Self
Explicitly specify the path keyword
pub fn column<N, T>(
self,
name: N,
column_type: T,
) -> ColumnBuilder<NestedPathBuilder>
pub fn column<N, T>( self, name: N, column_type: T, ) -> ColumnBuilder<NestedPathBuilder>
Add a regular column to the nested path
pub fn exists_column<N, T>(
self,
name: N,
column_type: T,
) -> ExistsColumnBuilder<NestedPathBuilder>
pub fn exists_column<N, T>( self, name: N, column_type: T, ) -> ExistsColumnBuilder<NestedPathBuilder>
Add an EXISTS column to the nested path
pub fn nested<P>(self, path: P) -> NestedPathBuilder
pub fn nested<P>(self, path: P) -> NestedPathBuilder
Add another NESTED PATH column to the nested path
pub fn build_nested(self) -> Builder
pub fn build_nested(self) -> Builder
Finish building this nested path and return to the main builder
Trait Implementations§
§impl Clone for NestedPathBuilder
impl Clone for NestedPathBuilder
§fn clone(&self) -> NestedPathBuilder
fn clone(&self) -> NestedPathBuilder
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 moreAuto Trait Implementations§
impl Freeze for NestedPathBuilder
impl RefUnwindSafe for NestedPathBuilder
impl Send for NestedPathBuilder
impl Sync for NestedPathBuilder
impl Unpin for NestedPathBuilder
impl UnwindSafe for NestedPathBuilder
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