[−][src]Struct postgres_parser::sys::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
type_: NodeTagfuncname: *mut Listargs: *mut Listqualified name of function
agg_order: *mut Listthe arguments (list of exprs)
agg_filter: *mut NodeORDER BY (list of SortBy)
agg_within_group: boolFILTER clause, if any
agg_star: boolORDER BY appeared in WITHIN GROUP
agg_distinct: boolargument was really '*'
func_variadic: boolarguments were labeled DISTINCT
over: *mut WindowDeflast argument was labeled VARIADIC
location: c_intOVER clause, if any
Trait Implementations
impl Debug for FuncCall[src]
impl Default for FuncCall[src]
impl Eq for FuncCall[src]
impl Hash for FuncCall[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<FuncCall> for FuncCall[src]
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> 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>,