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

Data.Text.Extended

Documentation

class ToTxt a where Source #

Methods

toTxt :: a -> Text Source #

Instances

Instances details
ToTxt Char Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Char -> Text Source #

ToTxt () Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: () -> Text Source #

ToTxt Void Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Void -> Text Source #

ToTxt Text Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Text -> Text Source #

ToTxt EnumValue Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: EnumValue -> Text Source #

ToTxt Name Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Name -> Text Source #

ToTxt Query Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Query -> Text Source #

ToTxt NonEmptyText Source # 
Instance details

Defined in Data.Text.NonEmpty

Methods

toTxt :: NonEmptyText -> Text Source #

ToTxt SessionVariable Source # 
Instance details

Defined in Hasura.Session

Methods

toTxt :: SessionVariable -> Text Source #

ToTxt RoleName Source # 
Instance details

Defined in Hasura.Session

Methods

toTxt :: RoleName -> Text Source #

ToTxt MaxTime Source #

Defers to the (illegal) DiffTime Show instance.

>>> toTxt (MaxTime 2.5)
"2.5s"
Instance details

Defined in Hasura.RQL.Types.ApiLimit

Methods

toTxt :: MaxTime -> Text Source #

ToTxt QueryName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toTxt :: QueryName -> Text Source #

ToTxt CollectionName Source # 
Instance details

Defined in Hasura.RQL.Types.QueryCollection

Methods

toTxt :: CollectionName -> Text Source #

ToTxt EndpointUrl Source # 
Instance details

Defined in Hasura.RQL.Types.Endpoint

Methods

toTxt :: EndpointUrl -> Text Source #

ToTxt EndpointName Source # 
Instance details

Defined in Hasura.RQL.Types.Endpoint

Methods

toTxt :: EndpointName -> Text Source #

ToTxt EndpointMethod Source # 
Instance details

Defined in Hasura.RQL.Types.Endpoint

Methods

toTxt :: EndpointMethod -> Text Source #

ToTxt EventId Source # 
Instance details

Defined in Hasura.RQL.Types.Eventing

Methods

toTxt :: EventId -> Text Source #

ToTxt ResolvedWebhook Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: ResolvedWebhook -> Text Source #

ToTxt SourceName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: SourceName -> Text Source #

ToTxt FieldName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: FieldName -> Text Source #

ToTxt RelName Source # 
Instance details

Defined in Hasura.RQL.Types.Common

Methods

toTxt :: RelName -> Text Source #

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toTxt :: ConstraintName -> Text Source #

ToTxt Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toTxt :: Name -> Text Source #

ToTxt Type Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Scalar.Type

Methods

toTxt :: Type -> Text Source #

ToTxt Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Function

Methods

toTxt :: Name -> Text Source #

ToTxt DataConnectorName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Adapter.Types

Methods

toTxt :: DataConnectorName -> Text Source #

ToTxt BackendType Source # 
Instance details

Defined in Hasura.SQL.Backend

Methods

toTxt :: BackendType -> Text Source #

ToTxt FunctionArgName Source # 
Instance details

Defined in Hasura.RQL.Types.Function

Methods

toTxt :: FunctionArgName -> Text Source #

ToTxt TriggerName Source # 
Instance details

Defined in Hasura.RQL.Types.EventTrigger

Methods

toTxt :: TriggerName -> Text Source #

ToTxt PGScalarType Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: PGScalarType -> Text Source #

ToTxt PGCol Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: PGCol -> Text Source #

ToTxt FunctionName Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: FunctionName -> Text Source #

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: ConstraintName -> Text Source #

ToTxt TableName Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: TableName -> Text Source #

ToTxt ComputedFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.ComputedField

Methods

toTxt :: ComputedFieldName -> Text Source #

ToTxt ScalarType Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Types.Instances

Methods

toTxt :: ScalarType -> Text Source #

ToTxt FunctionName Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Types.Instances

Methods

toTxt :: FunctionName -> Text Source #

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Types.Instances

Methods

toTxt :: ConstraintName -> Text Source #

ToTxt ColumnName Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Types.Instances

Methods

toTxt :: ColumnName -> Text Source #

ToTxt TableName Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Types.Instances

Methods

toTxt :: TableName -> Text Source #

ToTxt ScalarType Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Instances

Methods

toTxt :: ScalarType -> Text Source #

ToTxt TableName Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Instances

Methods

toTxt :: TableName -> Text Source #

ToTxt ScalarValue Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Internal

Methods

toTxt :: ScalarValue -> Text Source #

ToTxt Column Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Internal

Methods

toTxt :: Column -> Text Source #

ToTxt FunctionName Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Internal

Methods

toTxt :: FunctionName -> Text Source #

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.MySQL.Types.Internal

Methods

toTxt :: ConstraintName -> Text Source #

ToTxt FunctionName Source # 
Instance details

Defined in Hasura.Backends.BigQuery.Types

Methods

toTxt :: FunctionName -> Text Source #

ToTxt ScalarType Source # 
Instance details

Defined in Hasura.Backends.BigQuery.Types

Methods

toTxt :: ScalarType -> Text Source #

ToTxt ColumnName Source # 
Instance details

Defined in Hasura.Backends.BigQuery.Types

Methods

toTxt :: ColumnName -> Text Source #

ToTxt TableName Source # 
Instance details

Defined in Hasura.Backends.BigQuery.Types

Methods

toTxt :: TableName -> Text Source #

ToTxt RemoteSchemaName Source # 
Instance details

Defined in Hasura.RQL.Types.RemoteSchema

Methods

toTxt :: RemoteSchemaName -> Text Source #

ToTxt RelationshipName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: RelationshipName -> Text Source #

ToTxt EnumTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: EnumTypeName -> Text Source #

ToTxt ObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: ObjectFieldName -> Text Source #

ToTxt ObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: ObjectTypeName -> Text Source #

ToTxt InputObjectFieldName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

ToTxt InputObjectTypeName Source # 
Instance details

Defined in Hasura.RQL.Types.CustomTypes

Methods

toTxt :: InputObjectTypeName -> Text Source #

ToTxt ArgumentName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toTxt :: ArgumentName -> Text Source #

ToTxt ActionName Source # 
Instance details

Defined in Hasura.RQL.Types.Action

Methods

toTxt :: ActionName -> Text Source #

ToTxt InconsistentRoleEntity Source # 
Instance details

Defined in Hasura.RQL.Types.Metadata.Object

ToTxt RootFieldAlias Source # 
Instance details

Defined in Hasura.GraphQL.Namespace

Methods

toTxt :: RootFieldAlias -> Text Source #

ToTxt MultiplexedQuery Source # 
Instance details

Defined in Hasura.Backends.Postgres.Execute.Subscription

Methods

toTxt :: MultiplexedQuery -> Text Source #

ToTxt MultiplexedQuery' Source # 
Instance details

Defined in Hasura.Backends.MSSQL.Instances.Execute

Methods

toTxt :: MultiplexedQuery' -> Text Source #

ToTxt (Value Void) Source # 
Instance details

Defined in Data.Text.Extended

Methods

toTxt :: Value Void -> Text Source #

ToTxt (Name ty) Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Name

Methods

toTxt :: Name ty -> Text Source #

ToTxt (BackendSourceKind b) Source # 
Instance details

Defined in Hasura.SQL.Backend

Methods

toTxt :: BackendSourceKind b -> Text Source #

ToTxt a => ToTxt (QualifiedObject a) Source # 
Instance details

Defined in Hasura.Backends.Postgres.SQL.Types

Methods

toTxt :: QualifiedObject a -> Text Source #

Backend b => ToTxt (ColumnType b) Source # 
Instance details

Defined in Hasura.RQL.Types.Column

Methods

toTxt :: ColumnType b -> Text Source #

Backend b => ToTxt (ColumnReference b) Source # 
Instance details

Defined in Hasura.RQL.Types.Column

Methods

toTxt :: ColumnReference b -> Text Source #

bquote :: ToTxt t => t -> Text Source #

squote :: ToTxt t => t -> Text Source #

dquote :: ToTxt t => t -> Text Source #

paren :: ToTxt t => t -> Text Source #

parenB :: Builder -> Builder Source #

dquoteList :: (ToTxt t, Foldable f) => f t -> Text Source #

commaSeparated :: (ToTxt t, Foldable f) => f t -> Text Source #

(<>>) :: ToTxt t => Text -> t -> Text infixr 6 Source #

(<<>) :: ToTxt t => t -> Text -> Text infixr 6 Source #

(<~>) :: Builder -> Builder -> Builder infixr 6 Source #