Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Postgres types related to computed fields
Synopsis
- data ComputedFieldDefinition = ComputedFieldDefinition {}
- data FunctionTableArgument
- data FunctionSessionArgument = FunctionSessionArgument FunctionArgName Int
- data ComputedFieldImplicitArguments = ComputedFieldImplicitArguments {}
- fromComputedFieldImplicitArguments :: v -> ComputedFieldImplicitArguments -> [ArgumentExp v]
- data ComputedFieldReturn
- _CFRSetofTable :: Prism' ComputedFieldReturn QualifiedTable
- _CFRScalar :: Prism' ComputedFieldReturn PGScalarType
Documentation
data ComputedFieldDefinition Source #
Instances
data FunctionTableArgument Source #
The function table argument is either the very first argument or the named argument with an index. The index is 0 if the named argument is the first.
FTAFirst | |
FTANamed | |
|
Instances
data FunctionSessionArgument Source #
The session argument, which passes Hasura session variables to a SQL function as a JSON object.
FunctionSessionArgument | |
|
Instances
data ComputedFieldImplicitArguments Source #
Instances
fromComputedFieldImplicitArguments :: v -> ComputedFieldImplicitArguments -> [ArgumentExp v] Source #
data ComputedFieldReturn Source #