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

Hasura.Backends.DataConnector.Schema.Table

Synopsis

Documentation

data Table Source #

A schematic representation which captures a named collection of columns

TODO(cdparks): schematic in the sense of "relating to a schema" or symbolic? This language is also used in the Column documentation

An element of a table is known as a row, record, tuple, or object, and conforms to the shape specified by the list of Columns below.

cf. https://en.wikipedia.org/wiki/Table_(database) https://www.postgresql.org/docs/13/ddl-basics.html

NOTE(jkachmar): This type shouldn't _need_ ser/de instances, but they're imposed by the Backend class.

Constructors

Table 

Fields

Instances

Instances details
Eq Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

Methods

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

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

Data Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

Methods

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

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

toConstr :: Table -> Constr #

dataTypeOf :: Table -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

Methods

compare :: Table -> Table -> Ordering #

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

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

(>) :: Table -> Table -> Bool #

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

max :: Table -> Table -> Table #

min :: Table -> Table -> Table #

Show Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

Generic Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

Associated Types

type Rep Table :: Type -> Type #

Methods

from :: Table -> Rep Table x #

to :: Rep Table x -> Table #

type Rep Table Source # 
Instance details

Defined in Hasura.Backends.DataConnector.Schema.Table

type Rep Table = D1 ('MetaData "Table" "Hasura.Backends.DataConnector.Schema.Table" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "Table" 'PrefixI 'True) ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Name) :*: S1 ('MetaSel ('Just "columns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Column])) :*: (S1 ('MetaSel ('Just "primaryKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))