[−][src]Struct postgres_parser::nodes::FuncCall
FuncCall a function or aggregate invocation
agg_order (if not NIL) indicates we saw 'foo(... ORDER BY ...)', or if agg_within_group is true, it was 'foo(...) WITHIN GROUP (ORDER BY ...)'. agg_star indicates we saw a 'foo(*)' construct, while agg_distinct indicates we saw 'foo(DISTINCT ...)'. In any of these cases, the construct must be an aggregate call. Otherwise, it might be either an aggregate or some other kind of function. However, if FILTER or OVER is present it had better be an aggregate or window function.
Normally, you'd initialize this via makeFuncCall() and then only change the parts of the struct its defaults don't match afterwards, as needed.
Fields
funcname: Option<Vec<Node>>
args: Option<Vec<Node>>
agg_order: Option<Vec<Node>>
agg_filter: Option<Box<Node>>
agg_within_group: bool
agg_star: bool
agg_distinct: bool
func_variadic: bool
over: Option<Box<WindowDef>>
location: i32
Trait Implementations
impl Debug for FuncCall
[src]
impl<'de> Deserialize<'de> for FuncCall
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for FuncCall
[src]
impl PartialEq<FuncCall> for FuncCall
[src]
impl Serialize for FuncCall
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for FuncCall
[src]
impl StructuralPartialEq for FuncCall
[src]
Auto Trait Implementations
impl RefUnwindSafe for FuncCall
impl Send for FuncCall
impl Sync for FuncCall
impl Unpin for FuncCall
impl UnwindSafe for FuncCall
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,