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

Hasura.Backends.DataConnector.IR.Table

Synopsis

Documentation

newtype Name Source #

The fully qualified name of a table. The last element in the list is the table name and all other elements represent namespacing of the table name. For example, for a database that has schemas, the name would be '[schema,name]'

Constructors

Name 

Fields

Instances

Instances details
Eq Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Data Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name -> c Name #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Name #

toConstr :: Name -> Constr #

dataTypeOf :: Name -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Name) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Name) #

gmapT :: (forall b. Data b => b -> b) -> Name -> Name #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name -> r #

gmapQ :: (forall d. Data d => d -> u) -> Name -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name -> m Name #

Ord Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

(>=) :: Name -> Name -> Bool #

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

Show Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Generic Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Associated Types

type Rep Name :: Type -> Type #

Methods

from :: Name -> Rep Name x #

to :: Rep Name x -> Name #

NFData Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

rnf :: Name -> () #

ToErrorValue Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Hashable Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

hashWithSalt :: Int -> Name -> Int

hash :: Name -> Int

FromJSON Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

parseJSON :: Value -> Parser Name

parseJSONList :: Value -> Parser [Name]

ToJSONKey Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toJSONKey :: ToJSONKeyFunction Name

toJSONKeyList :: ToJSONKeyFunction [Name]

ToJSON Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toJSON :: Name -> Value

toEncoding :: Name -> Encoding

toJSONList :: [Name] -> Value

toEncodingList :: [Name] -> Encoding

ToTxt Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toTxt :: Name -> Text Source #

Cacheable Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

unchanged :: Accesses -> Name -> Name -> Bool Source #

From TableName Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

from :: TableName -> Name

From Text Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

from :: Text -> Name

From Name TableName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

from :: Name -> TableName

type Rep Name Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

type Rep Name = D1 ('MetaData "Name" "Hasura.Backends.DataConnector.IR.Table" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "Name" 'PrefixI 'True) (S1 ('MetaSel ('Just "unName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text))))

newtype ConstraintName Source #

Constructors

ConstraintName 

Fields

Instances

Instances details
Eq ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Data ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ConstraintName -> c ConstraintName #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ConstraintName #

toConstr :: ConstraintName -> Constr #

dataTypeOf :: ConstraintName -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ConstraintName) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ConstraintName) #

gmapT :: (forall b. Data b => b -> b) -> ConstraintName -> ConstraintName #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintName -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ConstraintName -> r #

gmapQ :: (forall d. Data d => d -> u) -> ConstraintName -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ConstraintName -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ConstraintName -> m ConstraintName #

Ord ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Show ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Generic ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Associated Types

type Rep ConstraintName :: Type -> Type #

NFData ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

rnf :: ConstraintName -> () #

ToErrorValue ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Hashable ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

FromJSON ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

parseJSON :: Value -> Parser ConstraintName

parseJSONList :: Value -> Parser [ConstraintName]

ToJSON ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toJSON :: ConstraintName -> Value

toEncoding :: ConstraintName -> Encoding

toJSONList :: [ConstraintName] -> Value

toEncodingList :: [ConstraintName] -> Encoding

ToTxt ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

Methods

toTxt :: ConstraintName -> Text Source #

Cacheable ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

From ConstraintName ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

From ConstraintName ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

type Rep ConstraintName Source # 
Instance details

Defined in Hasura.Backends.DataConnector.IR.Table

type Rep ConstraintName = D1 ('MetaData "ConstraintName" "Hasura.Backends.DataConnector.IR.Table" "graphql-engine-1.0.0-inplace" 'True) (C1 ('MetaCons "ConstraintName" 'PrefixI 'True) (S1 ('MetaSel ('Just "unConstraintName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))