[][src]Struct postgres_parser::sys::ScalarArrayOpExpr

#[repr(C)]pub struct ScalarArrayOpExpr {
    pub xpr: Expr,
    pub opno: Oid,
    pub opfuncid: Oid,
    pub useOr: bool,
    pub inputcollid: Oid,
    pub args: *mut List,
    pub location: c_int,
}

ScalarArrayOpExpr expression node for "scalar op ANY/ALL (array)"

The operator must yield boolean. It is applied to the left operand and each element of the righthand array, and the results are combined with OR or AND (for ANY or ALL respectively). The node representation is almost the same as for the underlying operator, but we need a useOr flag to remember whether it's ANY or ALL, and we don't have to store the result type (or the collation) because it must be boolean.

Fields

xpr: Expropno: Oidopfuncid: Oid

PG_OPERATOR OID of the operator

useOr: bool

PG_PROC OID of underlying function

inputcollid: Oid

true for ANY, false for ALL

args: *mut List

OID of collation that operator should use

location: c_int

the scalar and array operands

Trait Implementations

impl Debug for ScalarArrayOpExpr[src]

impl Default for ScalarArrayOpExpr[src]

impl Eq for ScalarArrayOpExpr[src]

impl Hash for ScalarArrayOpExpr[src]

impl PartialEq<ScalarArrayOpExpr> for ScalarArrayOpExpr[src]

impl StructuralEq for ScalarArrayOpExpr[src]

impl StructuralPartialEq for ScalarArrayOpExpr[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.