2013-12-20 03:37:46 +04:00
|
|
|
name: relational-query
|
2018-04-30 17:26:42 +03:00
|
|
|
version: 0.11.1.0
|
2013-12-20 03:37:46 +04:00
|
|
|
synopsis: Typeful, Modular, Relational, algebraic query engine
|
2013-12-25 20:13:36 +04:00
|
|
|
description: This package contiains typeful relation structure and
|
|
|
|
relational-algebraic query building DSL which can
|
|
|
|
translate into SQL query.
|
2013-12-20 03:37:46 +04:00
|
|
|
Supported query features are below:
|
|
|
|
- Type safe query building
|
|
|
|
- Restriction, Join, Aggregation
|
|
|
|
- Modularized relations
|
|
|
|
- Typed placeholders
|
2014-12-13 07:37:12 +03:00
|
|
|
homepage: http://khibino.github.io/haskell-relational-record/
|
2013-12-20 03:37:46 +04:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Kei Hibino
|
|
|
|
maintainer: ex8k.hibino@gmail.com
|
2017-02-03 06:26:29 +03:00
|
|
|
copyright: Copyright (c) 2013-2017 Kei Hibino
|
2013-12-20 03:37:46 +04:00
|
|
|
category: Database
|
|
|
|
build-type: Simple
|
2014-12-10 06:30:10 +03:00
|
|
|
cabal-version: >=1.10
|
2018-06-17 17:57:50 +03:00
|
|
|
tested-with: GHC == 8.4.1, GHC == 8.4.2, GHC == 8.4.3
|
|
|
|
, GHC == 8.2.1, GHC == 8.2.2
|
2017-07-17 05:31:55 +03:00
|
|
|
, GHC == 8.0.1, GHC == 8.0.2
|
2016-06-19 05:26:23 +03:00
|
|
|
, GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3
|
|
|
|
, GHC == 7.8.1, GHC == 7.8.2, GHC == 7.8.3, GHC == 7.8.4
|
|
|
|
, GHC == 7.6.1, GHC == 7.6.2, GHC == 7.6.3
|
|
|
|
, GHC == 7.4.1, GHC == 7.4.2
|
2015-06-05 04:36:45 +03:00
|
|
|
extra-source-files: ChangeLog.md
|
2013-12-20 03:37:46 +04:00
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Arrow
|
2015-06-25 15:52:51 +03:00
|
|
|
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational
|
|
|
|
Database.Relational.Table
|
2017-08-27 14:36:55 +03:00
|
|
|
Database.Relational.SimpleSql
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Pure
|
|
|
|
Database.Relational.Pi
|
|
|
|
Database.Relational.Pi.Unsafe
|
|
|
|
Database.Relational.Constraint
|
|
|
|
Database.Relational.Context
|
2017-08-27 13:18:54 +03:00
|
|
|
Database.Relational.Config
|
2017-08-15 16:44:47 +03:00
|
|
|
Database.Relational.SqlSyntax
|
2017-08-13 09:20:35 +03:00
|
|
|
Database.Relational.Record
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.ProjectableClass
|
|
|
|
Database.Relational.Projectable
|
2017-11-12 15:43:30 +03:00
|
|
|
Database.Relational.Projectable.Unsafe
|
2017-11-12 16:02:46 +03:00
|
|
|
Database.Relational.Projectable.Instances
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.TupleInstances
|
|
|
|
Database.Relational.Monad.BaseType
|
|
|
|
Database.Relational.Monad.Class
|
|
|
|
Database.Relational.Monad.Trans.Ordering
|
|
|
|
Database.Relational.Monad.Trans.Aggregating
|
|
|
|
Database.Relational.Monad.Trans.Restricting
|
|
|
|
Database.Relational.Monad.Trans.Join
|
|
|
|
Database.Relational.Monad.Trans.Config
|
|
|
|
Database.Relational.Monad.Trans.Assigning
|
|
|
|
Database.Relational.Monad.Type
|
|
|
|
Database.Relational.Monad.Simple
|
|
|
|
Database.Relational.Monad.Aggregate
|
|
|
|
Database.Relational.Monad.Unique
|
|
|
|
Database.Relational.Monad.Restrict
|
|
|
|
Database.Relational.Monad.Assign
|
|
|
|
Database.Relational.Monad.Register
|
|
|
|
Database.Relational.Relation
|
2017-08-27 14:03:05 +03:00
|
|
|
Database.Relational.Set
|
2017-11-11 17:40:41 +03:00
|
|
|
Database.Relational.Sequence
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Effect
|
|
|
|
Database.Relational.Scalar
|
|
|
|
Database.Relational.Type
|
|
|
|
Database.Relational.Derives
|
|
|
|
Database.Relational.TH
|
2013-12-20 03:37:46 +04:00
|
|
|
|
2018-04-30 17:24:44 +03:00
|
|
|
-- definitions and namespaces compatible with <= 0.9
|
2017-08-12 19:05:20 +03:00
|
|
|
Database.Relational.Compat
|
2017-07-30 09:45:42 +03:00
|
|
|
Database.Relational.Query
|
|
|
|
Database.Relational.Query.Arrow
|
2018-04-30 17:24:44 +03:00
|
|
|
Database.Relational.Query.TH
|
2017-07-30 09:45:42 +03:00
|
|
|
|
2017-11-19 16:56:33 +03:00
|
|
|
-- for GHC version equal or more than 8.0
|
|
|
|
Database.Relational.OverloadedProjection
|
2017-11-20 18:00:08 +03:00
|
|
|
Database.Relational.OverloadedInstances
|
2017-11-19 16:56:33 +03:00
|
|
|
|
2013-12-20 03:37:46 +04:00
|
|
|
other-modules:
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Internal.ContextType
|
2017-08-16 17:26:39 +03:00
|
|
|
Database.Relational.Internal.Config
|
2017-08-27 14:26:22 +03:00
|
|
|
Database.Relational.Internal.String
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Internal.UntypedTable
|
2017-08-14 10:21:28 +03:00
|
|
|
Database.Relational.SqlSyntax.Types
|
2017-08-25 09:39:45 +03:00
|
|
|
Database.Relational.SqlSyntax.Join
|
2017-08-26 05:36:14 +03:00
|
|
|
Database.Relational.SqlSyntax.Aggregate
|
2017-08-16 17:44:44 +03:00
|
|
|
Database.Relational.SqlSyntax.Query
|
2017-08-27 11:42:17 +03:00
|
|
|
Database.Relational.SqlSyntax.Fold
|
2017-08-16 17:44:44 +03:00
|
|
|
Database.Relational.SqlSyntax.Updates
|
2017-07-26 18:53:00 +03:00
|
|
|
Database.Relational.Monad.Trans.JoinState
|
|
|
|
Database.Relational.Monad.Trans.Qualify
|
2017-11-15 15:27:17 +03:00
|
|
|
Database.Relational.InternalTH.Base
|
2013-12-20 03:37:46 +04:00
|
|
|
|
2017-11-19 16:56:33 +03:00
|
|
|
-- for GHC version equal or more than 8.0
|
|
|
|
Database.Relational.InternalTH.Overloaded
|
|
|
|
|
2013-12-20 03:37:46 +04:00
|
|
|
build-depends: base <5
|
|
|
|
, array
|
|
|
|
, containers
|
|
|
|
, transformers
|
|
|
|
, time
|
2014-12-16 09:01:57 +03:00
|
|
|
, time-locale-compat
|
2013-12-20 03:37:46 +04:00
|
|
|
, bytestring
|
|
|
|
, text
|
|
|
|
, dlist
|
|
|
|
, template-haskell
|
2016-06-16 03:48:24 +03:00
|
|
|
, th-reify-compat
|
2017-09-15 15:03:02 +03:00
|
|
|
, product-isomorphic >= 0.0.3
|
2017-07-24 13:31:29 +03:00
|
|
|
, sql-words >=0.1.5
|
2013-12-20 03:37:46 +04:00
|
|
|
, names-th
|
2017-10-22 14:19:45 +03:00
|
|
|
, persistable-record >= 0.6
|
2017-04-08 22:44:05 +03:00
|
|
|
if impl(ghc == 7.4.*)
|
2017-03-16 09:33:37 +03:00
|
|
|
build-depends: ghc-prim == 0.2.*
|
2013-12-25 20:13:36 +04:00
|
|
|
|
2013-12-20 03:37:46 +04:00
|
|
|
hs-source-dirs: src
|
2017-02-02 08:39:16 +03:00
|
|
|
ghc-options: -Wall -fsimpl-tick-factor=200
|
2014-12-09 20:34:36 +03:00
|
|
|
|
2014-12-10 06:30:10 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
2015-01-04 10:36:15 +03:00
|
|
|
test-suite sqls
|
2014-12-10 19:52:07 +03:00
|
|
|
build-depends: base <5
|
2015-06-16 02:27:20 +03:00
|
|
|
, quickcheck-simple
|
2017-09-10 08:24:09 +03:00
|
|
|
, product-isomorphic
|
2014-12-10 19:52:07 +03:00
|
|
|
, relational-query
|
2015-01-03 16:51:04 +03:00
|
|
|
, containers
|
|
|
|
, transformers
|
2017-04-08 22:44:05 +03:00
|
|
|
if impl(ghc == 7.4.*)
|
2017-03-16 09:33:37 +03:00
|
|
|
build-depends: ghc-prim == 0.2.*
|
2014-12-10 19:52:07 +03:00
|
|
|
|
2015-06-16 02:27:20 +03:00
|
|
|
type: exitcode-stdio-1.0
|
2015-06-16 02:39:25 +03:00
|
|
|
main-is: sqlsEq.hs
|
2014-12-10 19:52:07 +03:00
|
|
|
other-modules:
|
2015-01-03 16:51:04 +03:00
|
|
|
Lex
|
2014-12-10 19:52:07 +03:00
|
|
|
Model
|
|
|
|
|
|
|
|
hs-source-dirs: test
|
2017-02-02 09:11:16 +03:00
|
|
|
ghc-options: -Wall -fsimpl-tick-factor=200
|
2014-12-10 19:52:07 +03:00
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2015-06-25 15:58:02 +03:00
|
|
|
test-suite sqlsArrow
|
|
|
|
build-depends: base <5
|
|
|
|
, quickcheck-simple
|
2017-09-10 08:24:09 +03:00
|
|
|
, product-isomorphic
|
2015-06-25 15:58:02 +03:00
|
|
|
, relational-query
|
|
|
|
, containers
|
|
|
|
, transformers
|
2017-04-08 22:44:05 +03:00
|
|
|
if impl(ghc == 7.4.*)
|
2017-03-16 09:33:37 +03:00
|
|
|
build-depends: ghc-prim == 0.2.*
|
2015-06-25 15:58:02 +03:00
|
|
|
|
|
|
|
type: exitcode-stdio-1.0
|
|
|
|
main-is: sqlsEqArrow.hs
|
|
|
|
other-modules:
|
|
|
|
Lex
|
|
|
|
Model
|
|
|
|
|
|
|
|
hs-source-dirs: test
|
|
|
|
ghc-options: -Wall
|
|
|
|
|
|
|
|
default-language: Haskell2010
|
|
|
|
|
2014-12-09 20:34:36 +03:00
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: https://github.com/khibino/haskell-relational-record
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: mercurial
|
|
|
|
location: https://bitbucket.org/khibino/haskell-relational-record
|