2 Module : Gargantext.Database.Prelude
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
12 {-# LANGUAGE NoImplicitPrelude #-}
14 module Gargantext.Database.Schema.Prelude
15 ( module Control.Arrow
16 , module Control.Lens.TH
17 , module Data.Aeson.TH
18 , module Data.Profunctor.Product.TH
20 , module Database.PostgreSQL.Simple.FromField
21 , module Database.PostgreSQL.Simple.FromRow
22 , module Database.PostgreSQL.Simple.SqlQQ
23 , module Database.PostgreSQL.Simple.ToField
24 , module Database.PostgreSQL.Simple.ToRow
25 , module Database.PostgreSQL.Simple.Types
27 , module Gargantext.Core.Utils.Prefix
29 , module Opaleye.Internal.QueryArr
30 , module Test.QuickCheck.Arbitrary
34 import Control.Arrow (returnA)
35 import Control.Lens.TH (makeLenses, makeLensesWith, abbreviatedFields)
36 import Data.Aeson.TH (deriveJSON)
37 import Data.Profunctor.Product.TH (makeAdaptorAndInstance)
38 import Data.Swagger hiding (required, in_)
39 import GHC.Generics (Generic)
40 import Gargantext.Core.Utils.Prefix (unPrefix, unPrefixSwagger)
41 import Opaleye hiding (FromField)
42 import Opaleye.Internal.QueryArr (Query)
43 import Test.QuickCheck.Arbitrary
45 import Database.PostgreSQL.Simple.FromField (FromField, fromField)
46 import Database.PostgreSQL.Simple.FromRow (FromRow, fromRow, field)
47 import Database.PostgreSQL.Simple.SqlQQ (sql)
48 import Database.PostgreSQL.Simple.ToField (toField, ToField)
49 import Database.PostgreSQL.Simple.ToRow (toRow)
50 import Database.PostgreSQL.Simple.Types (Values(..), QualifiedIdentifier(..))