pub struct JsonTable {
pub doc: Box<Expr>,
pub row_path: String,
pub columns: Vec<JsonTableColumn>,
pub passing: Vec<(String, Expr)>,
}Expand description
v7.39 (round 205) — a JSON_TABLE FROM item.
Fields§
§doc: Box<Expr>The document expression (jsonb/json/text). May reference outer columns → implicit LATERAL.
row_path: StringThe row-pattern jsonpath (the 2nd JSON_TABLE argument); each match is one row’s context item.
columns: Vec<JsonTableColumn>The COLUMNS list (regular columns, FOR ORDINALITY, NESTED).
passing: Vec<(String, Expr)>PASSING <expr> AS <name> variables, folded into jsonpath $name.
Trait Implementations§
impl StructuralPartialEq for JsonTable
Auto Trait Implementations§
impl Freeze for JsonTable
impl RefUnwindSafe for JsonTable
impl Send for JsonTable
impl Sync for JsonTable
impl Unpin for JsonTable
impl UnsafeUnpin for JsonTable
impl UnwindSafe for JsonTable
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