1{-# language DeriveFunctor #-}
2{-# language DerivingStrategies #-}
4module Rel8.Schema.Table
13-- | The schema for a table. This is used to specify the name and schema that a
14-- table belongs to (the @FROM@ part of a SQL query), along with the schema of
15-- the columns within this table.
17-- For each selectable table in your database, you should provide a
18-- @TableSchema@ in order to interact with the table via Rel8.
19data TableSchema names = TableSchema
21 -- ^ The name of the table.
22 , schema :: Maybe String
23 -- ^ The schema that this table belongs to. If 'Nothing', whatever is on
24 -- the connection's @search_path@ will be used.
26 -- ^ The columns of the table. Typically you would use a a higher-kinded
27 -- data type here, parameterized by the 'Rel8.ColumnSchema.ColumnSchema' functor.
29 deriving stock Functor
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list