2 Module : Gargantext.Database.Prelude
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
13 module Gargantext.Database.Schema.Prelude
14 ( module Control.Arrow
15 , module Control.Lens.TH
16 , module Data.Aeson.TH
17 , module Data.Profunctor.Product.TH
19 , module Database.PostgreSQL.Simple.FromField
20 , module Database.PostgreSQL.Simple.FromRow
21 , module Database.PostgreSQL.Simple.SqlQQ
22 , module Database.PostgreSQL.Simple.ToField
23 , module Database.PostgreSQL.Simple.ToRow
24 , module Database.PostgreSQL.Simple.Types
26 , module Gargantext.Core.Utils.Prefix
28 , module Opaleye.Internal.Table
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 Opaleye.Internal.Table (Table(..))
44 import Test.QuickCheck.Arbitrary hiding (vector)
46 import Database.PostgreSQL.Simple.FromField (FromField, fromField)
47 import Database.PostgreSQL.Simple.FromRow (FromRow, fromRow, field)
48 import Database.PostgreSQL.Simple.SqlQQ (sql)
49 import Database.PostgreSQL.Simple.ToField (toField, ToField)
50 import Database.PostgreSQL.Simple.ToRow (toRow)
51 import Database.PostgreSQL.Simple.Types (Values(..), QualifiedIdentifier(..))