Module
SqlSquared.Signature
- Package
- purescript-sql-squared
- Repository
- slamdata/purescript-sql-squared
#BinopR Source
type BinopR a = { lhs :: a, op :: BinaryOperator, rhs :: a }
#UnopR Source
type UnopR a = { expr :: a, op :: UnaryOperator }
#InvokeFunctionR Source
type InvokeFunctionR a = { args :: List a, name :: Ident }
#SqlF Source
#SqlModuleF Source
newtype SqlModuleF a
Constructors
Instances
(Eq a) => Eq (SqlModuleF a)
(Ord a) => Ord (SqlModuleF a)
Newtype (SqlModuleF a) _
Eq1 SqlModuleF
Ord1 SqlModuleF
Functor SqlModuleF
Foldable SqlModuleF
Traversable SqlModuleF
#genSqlF Source
genSqlF :: forall l m. MonadGen m => MonadRec m => CoalgebraM m l Int -> CoalgebraM m (SqlF l) Int
#genSqlDeclF Source
genSqlDeclF :: forall m. MonadGen m => MonadRec m => CoalgebraM m SqlDeclF Int
#genSqlQueryF Source
genSqlQueryF :: forall m. MonadGen m => MonadRec m => CoalgebraM m SqlQueryF Int
#genSqlModuleF Source
genSqlModuleF :: forall m. MonadGen m => MonadRec m => CoalgebraM m SqlModuleF Int
Re-exports from SqlSquared.Signature.BinaryOperator
#printBinaryOperator Source
printBinaryOperator :: String -> String -> BinaryOperator -> String
#genBinaryOperator Source
genBinaryOperator :: forall m. MonadGen m => m BinaryOperator
Re-exports from SqlSquared.Signature.Case
Re-exports from SqlSquared.Signature.GroupBy
#genGroupBy Source
genGroupBy :: forall m. MonadGen m => CoalgebraM m GroupBy Int
Re-exports from SqlSquared.Signature.Ident
#printIdent Source
printIdent :: Ident -> String
Re-exports from SqlSquared.Signature.JoinType
#printJoinType Source
printJoinType :: JoinType -> String
#genJoinType Source
genJoinType :: forall m. MonadGen m => m JoinType
Re-exports from SqlSquared.Signature.OrderBy
#genOrderBy Source
genOrderBy :: forall m. MonadGen m => CoalgebraM m OrderBy Int
Re-exports from SqlSquared.Signature.OrderType
#printOrderType Source
printOrderType :: OrderType -> String
#genOrderType Source
genOrderType :: forall m. MonadGen m => m OrderType
Re-exports from SqlSquared.Signature.Projection
#Projection Source
newtype Projection a
Constructors
Projection { alias :: Maybe Ident, expr :: a }
Instances
Functor Projection
Newtype (Projection a) _
(Eq a) => Eq (Projection a)
(Ord a) => Ord (Projection a)
Foldable Projection
Traversable Projection
#genProjection Source
genProjection :: forall m. MonadGen m => MonadRec m => CoalgebraM m Projection Int
Re-exports from SqlSquared.Signature.Relation
#genRelation Source
genRelation :: forall m. MonadGen m => MonadRec m => CoalgebraM m Relation Int
Re-exports from SqlSquared.Signature.UnaryOperator
#unopToString Source
unopToString :: UnaryOperator -> String
#printUnaryOperator Source
printUnaryOperator :: String -> UnaryOperator -> String
#genUnaryOperator Source
genUnaryOperator :: forall m. MonadGen m => m UnaryOperator
Re-exports from SqlSquared.Utils
- Modules
- SqlSquared
- SqlSquared.
Constructors - SqlSquared.
Lenses - SqlSquared.
Parser - SqlSquared.
Parser. Tokenizer - SqlSquared.
Path - SqlSquared.
Signature - SqlSquared.
Signature. BinaryOperator - SqlSquared.
Signature. Case - SqlSquared.
Signature. GroupBy - SqlSquared.
Signature. Ident - SqlSquared.
Signature. JoinType - SqlSquared.
Signature. OrderBy - SqlSquared.
Signature. OrderType - SqlSquared.
Signature. Projection - SqlSquared.
Signature. Relation - SqlSquared.
Signature. UnaryOperator - SqlSquared.
Utils