pub struct TableFunctions {
pub functions: Vec<Expr>,
}Expand description
A set of set-returning functions in a FROM, which PostgreSQL spells
ROWS FROM (…) once there is more than one.
[LATERAL] function_name ( … ) [WITH ORDINALITY] …
[LATERAL] ROWS FROM ( function_name ( … ) [AS (coldefs)] [, …] ) [WITH ORDINALITY] …The rule worth keeping is that the wrapper appears only for a set: one
function is written plainly, because ROWS FROM (f()) and f() mean the same
thing and the shorter form is what a person writes. Put the result in
TableRef::expression; the column-definition lists belong to the individual
function expressions, which is a dialect’s own function builder reaching core
through Expr::Custom.
Fields§
§functions: Vec<Expr>The function calls, in order.
Implementations§
Trait Implementations§
Source§impl Clone for TableFunctions
impl Clone for TableFunctions
Source§fn clone(&self) -> TableFunctions
fn clone(&self) -> TableFunctions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TableFunctions
impl Debug for TableFunctions
Source§impl Default for TableFunctions
impl Default for TableFunctions
Source§fn default() -> TableFunctions
fn default() -> TableFunctions
Returns the “default value” for a type. Read more
Source§impl Expression for TableFunctions
impl Expression for TableFunctions
Auto Trait Implementations§
impl !RefUnwindSafe for TableFunctions
impl !UnwindSafe for TableFunctions
impl Freeze for TableFunctions
impl Send for TableFunctions
impl Sync for TableFunctions
impl Unpin for TableFunctions
impl UnsafeUnpin for TableFunctions
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