graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hasura.RQL.IR.Value

Synopsis

Documentation

data Provenance Source #

Where did this variable come from?

Constructors

FromGraphQL VariableInfo 
FromInternal Text

An internal source

FreshVar

A unique, fresh occurrence of a variable. E.g. a native query argument, or generated values that benefit from being prepared rather than inlined.

Instances

Instances details
Show Provenance Source # 
Instance details

Defined in Hasura.RQL.IR.Value

Eq Provenance Source # 
Instance details

Defined in Hasura.RQL.IR.Value

data UnpreparedValue (b :: BackendType) Source #

Constructors

UVParameter Provenance (ColumnValue b)

A SQL value that can be parameterized over.

UVLiteral (SQLExpression b)

A literal SQL expression that cannot be parameterized over.

UVSession

The entire session variables JSON object.

UVSessionVar (SessionVarType b) SessionVariable

A single session variable.

Instances

Instances details
(Backend b, Show (ColumnValue b)) => Show (UnpreparedValue b) Source # 
Instance details

Defined in Hasura.RQL.IR.Value

(Backend b, Eq (ColumnValue b)) => Eq (UnpreparedValue b) Source # 
Instance details

Defined in Hasura.RQL.IR.Value

data ValueWithOrigin a Source #

This indicates whether a variable value came from a certain GraphQL variable

Instances

Instances details
Functor ValueWithOrigin Source # 
Instance details

Defined in Hasura.RQL.IR.Value

Methods

fmap :: (a -> b) -> ValueWithOrigin a -> ValueWithOrigin b #

(<$) :: a -> ValueWithOrigin b -> ValueWithOrigin a #