graphql-engine-1.0.0: GraphQL API over Postgres
Safe HaskellNone
LanguageHaskell2010

Hasura.RQL.Types.ComputedField

Description

 
Synopsis

Documentation

newtype ComputedFieldName Source #

Instances

Instances details
Eq ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Ord ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Show ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Generic ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Associated Types

type Rep ComputedFieldName :: Type -> Type #

NFData ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

rnf :: ComputedFieldName -> () #

Hashable ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

FromJSON ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

parseJSON :: Value -> Parser ComputedFieldName

parseJSONList :: Value -> Parser [ComputedFieldName]

ToJSONKey ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

toJSONKey :: ToJSONKeyFunction ComputedFieldName

toJSONKeyList :: ToJSONKeyFunction [ComputedFieldName]

ToJSON ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

ToTxt ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

toTxt :: ComputedFieldName -> Text Source #

FromCol ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

ToPrepArg ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

toPrepVal :: ComputedFieldName -> PrepArg

Cacheable ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep ComputedFieldName = D1 ('MetaData "ComputedFieldName" "Hasura.RQL.Types.ComputedField" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ComputedFieldName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unComputedFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 NonEmptyText)))

data FunctionTrackedAs (b :: BackendType) Source #

Instances

Instances details
Backend b => Eq (FunctionTrackedAs b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => Show (FunctionTrackedAs b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Generic (FunctionTrackedAs b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Associated Types

type Rep (FunctionTrackedAs b) :: Type -> Type #

type Rep (FunctionTrackedAs b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

data CustomFunctionNames Source #

The function name and input arguments name for the "args" field parser.

function_name(args: args_name)

Constructors

CustomFunctionNames 

Fields

Instances

Instances details
Eq CustomFunctionNames Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Show CustomFunctionNames Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Generic CustomFunctionNames Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Associated Types

type Rep CustomFunctionNames :: Type -> Type #

type Rep CustomFunctionNames Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep CustomFunctionNames = D1 ('MetaData "CustomFunctionNames" "Hasura.RQL.Types.ComputedField" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "CustomFunctionNames" 'PrefixI 'True) (S1 ('MetaSel ('Just "cfnFunctionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: S1 ('MetaSel ('Just "cfnArgsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name)))

data ComputedFieldFunction (b :: BackendType) Source #

Instances

Instances details
Backend b => Eq (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => Show (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Generic (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Associated Types

type Rep (ComputedFieldFunction b) :: Type -> Type #

Backend b => NFData (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

rnf :: ComputedFieldFunction b -> () #

Backend b => Hashable (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => ToJSON (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => Cacheable (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep (ComputedFieldFunction b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep (ComputedFieldFunction b) = D1 ('MetaData "ComputedFieldFunction" "Hasura.RQL.Types.ComputedField" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ComputedFieldFunction" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_cffName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (FunctionName b)) :*: S1 ('MetaSel ('Just "_cffInputArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Seq (FunctionArgument b)))) :*: (S1 ('MetaSel ('Just "_cffComputedFieldImplicitArgs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ComputedFieldImplicitArguments b)) :*: S1 ('MetaSel ('Just "_cffDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PGDescription)))))

data ComputedFieldInfo (b :: BackendType) Source #

Instances

Instances details
Backend b => Eq (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => Show (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Generic (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Associated Types

type Rep (ComputedFieldInfo b) :: Type -> Type #

Backend b => NFData (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

rnf :: ComputedFieldInfo b -> () #

Backend b => Hashable (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Backend b => ToJSON (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

toJSON :: ComputedFieldInfo b -> Value

toEncoding :: ComputedFieldInfo b -> Encoding

toJSONList :: [ComputedFieldInfo b] -> Value

toEncodingList :: [ComputedFieldInfo b] -> Encoding

Backend b => Cacheable (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep (ComputedFieldInfo b) Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

type Rep (ComputedFieldInfo b) = D1 ('MetaData "ComputedFieldInfo" "Hasura.RQL.Types.ComputedField" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "ComputedFieldInfo" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_cfiXComputedFieldInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (XComputedField b)) :*: S1 ('MetaSel ('Just "_cfiName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ComputedFieldName)) :*: (S1 ('MetaSel ('Just "_cfiFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ComputedFieldFunction b)) :*: (S1 ('MetaSel ('Just "_cfiReturnType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ComputedFieldReturn b)) :*: S1 ('MetaSel ('Just "_cfiDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

cfiDescription :: forall b. Lens' (ComputedFieldInfo b) (Maybe Text) Source #

removeComputedFieldsReturningExistingTable :: forall backend. Backend backend => [ComputedFieldInfo backend] -> [ComputedFieldInfo backend] Source #

Filter computed fields not returning rows of existing table