queryparser-0.1.0.1: Analysis and parsing library for SQL queries.

Safe HaskellNone
LanguageHaskell2010

Database.Sql.Type.TableProps

Documentation

data Persistence a Source #

Constructors

Temporary a 
Persistent 

Instances

Functor Persistence Source # 

Methods

fmap :: (a -> b) -> Persistence a -> Persistence b #

(<$) :: a -> Persistence b -> Persistence a #

Foldable Persistence Source # 

Methods

fold :: Monoid m => Persistence m -> m #

foldMap :: Monoid m => (a -> m) -> Persistence a -> m #

foldr :: (a -> b -> b) -> b -> Persistence a -> b #

foldr' :: (a -> b -> b) -> b -> Persistence a -> b #

foldl :: (b -> a -> b) -> b -> Persistence a -> b #

foldl' :: (b -> a -> b) -> b -> Persistence a -> b #

foldr1 :: (a -> a -> a) -> Persistence a -> a #

foldl1 :: (a -> a -> a) -> Persistence a -> a #

toList :: Persistence a -> [a] #

null :: Persistence a -> Bool #

length :: Persistence a -> Int #

elem :: Eq a => a -> Persistence a -> Bool #

maximum :: Ord a => Persistence a -> a #

minimum :: Ord a => Persistence a -> a #

sum :: Num a => Persistence a -> a #

product :: Num a => Persistence a -> a #

Traversable Persistence Source # 

Methods

traverse :: Applicative f => (a -> f b) -> Persistence a -> f (Persistence b) #

sequenceA :: Applicative f => Persistence (f a) -> f (Persistence a) #

mapM :: Monad m => (a -> m b) -> Persistence a -> m (Persistence b) #

sequence :: Monad m => Persistence (m a) -> m (Persistence a) #

Eq a => Eq (Persistence a) Source # 
Data a => Data (Persistence a) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Persistence a -> c (Persistence a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Persistence a) #

toConstr :: Persistence a -> Constr #

dataTypeOf :: Persistence a -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (Persistence a)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Persistence a)) #

gmapT :: (forall b. Data b => b -> b) -> Persistence a -> Persistence a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Persistence a -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Persistence a -> r #

gmapQ :: (forall d. Data d => d -> u) -> Persistence a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Persistence a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Persistence a -> m (Persistence a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Persistence a -> m (Persistence a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Persistence a -> m (Persistence a) #

Ord a => Ord (Persistence a) Source # 
Show a => Show (Persistence a) Source # 
Generic (Persistence a) Source # 

Associated Types

type Rep (Persistence a) :: * -> * #

Methods

from :: Persistence a -> Rep (Persistence a) x #

to :: Rep (Persistence a) x -> Persistence a #

Arbitrary a => Arbitrary (Persistence a) Source # 
ToJSON a => ToJSON (Persistence a) Source # 
FromJSON a => FromJSON (Persistence a) Source # 
type Rep (Persistence a) Source # 
type Rep (Persistence a) = D1 * (MetaData "Persistence" "Database.Sql.Type.TableProps" "queryparser-0.1.0.1-L3r1ujeH5Ss7CLthXKM008" False) ((:+:) * (C1 * (MetaCons "Temporary" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * a))) (C1 * (MetaCons "Persistent" PrefixI False) (U1 *)))

data Externality a Source #

Constructors

External a 
Internal 

Instances

Functor Externality Source # 

Methods

fmap :: (a -> b) -> Externality a -> Externality b #

(<$) :: a -> Externality b -> Externality a #

Foldable Externality Source # 

Methods

fold :: Monoid m => Externality m -> m #

foldMap :: Monoid m => (a -> m) -> Externality a -> m #

foldr :: (a -> b -> b) -> b -> Externality a -> b #

foldr' :: (a -> b -> b) -> b -> Externality a -> b #

foldl :: (b -> a -> b) -> b -> Externality a -> b #

foldl' :: (b -> a -> b) -> b -> Externality a -> b #

foldr1 :: (a -> a -> a) -> Externality a -> a #

foldl1 :: (a -> a -> a) -> Externality a -> a #

toList :: Externality a -> [a] #

null :: Externality a -> Bool #

length :: Externality a -> Int #

elem :: Eq a => a -> Externality a -> Bool #

maximum :: Ord a => Externality a -> a #

minimum :: Ord a => Externality a -> a #

sum :: Num a => Externality a -> a #

product :: Num a => Externality a -> a #

Traversable Externality Source # 

Methods

traverse :: Applicative f => (a -> f b) -> Externality a -> f (Externality b) #

sequenceA :: Applicative f => Externality (f a) -> f (Externality a) #

mapM :: Monad m => (a -> m b) -> Externality a -> m (Externality b) #

sequence :: Monad m => Externality (m a) -> m (Externality a) #

Eq a => Eq (Externality a) Source # 
Data a => Data (Externality a) Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Externality a -> c (Externality a) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Externality a) #

toConstr :: Externality a -> Constr #

dataTypeOf :: Externality a -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c (Externality a)) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Externality a)) #

gmapT :: (forall b. Data b => b -> b) -> Externality a -> Externality a #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Externality a -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Externality a -> r #

gmapQ :: (forall d. Data d => d -> u) -> Externality a -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Externality a -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Externality a -> m (Externality a) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Externality a -> m (Externality a) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Externality a -> m (Externality a) #

Ord a => Ord (Externality a) Source # 
Show a => Show (Externality a) Source # 
Generic (Externality a) Source # 

Associated Types

type Rep (Externality a) :: * -> * #

Methods

from :: Externality a -> Rep (Externality a) x #

to :: Rep (Externality a) x -> Externality a #

ToJSON a => ToJSON (Externality a) Source # 
FromJSON a => FromJSON (Externality a) Source # 
type Rep (Externality a) Source # 
type Rep (Externality a) = D1 * (MetaData "Externality" "Database.Sql.Type.TableProps" "queryparser-0.1.0.1-L3r1ujeH5Ss7CLthXKM008" False) ((:+:) * (C1 * (MetaCons "External" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * a))) (C1 * (MetaCons "Internal" PrefixI False) (U1 *)))

data Existence Source #

Constructors

Exists 
DoesNotExist 

Instances

Eq Existence Source # 
Data Existence Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Existence -> c Existence #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Existence #

toConstr :: Existence -> Constr #

dataTypeOf :: Existence -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Existence) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Existence) #

gmapT :: (forall b. Data b => b -> b) -> Existence -> Existence #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Existence -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Existence -> r #

gmapQ :: (forall d. Data d => d -> u) -> Existence -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Existence -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Existence -> m Existence #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Existence -> m Existence #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Existence -> m Existence #

Ord Existence Source # 
Show Existence Source # 
Generic Existence Source # 

Associated Types

type Rep Existence :: * -> * #

ToJSON Existence Source # 
FromJSON Existence Source # 
type Rep Existence Source # 
type Rep Existence = D1 * (MetaData "Existence" "Database.Sql.Type.TableProps" "queryparser-0.1.0.1-L3r1ujeH5Ss7CLthXKM008" False) ((:+:) * (C1 * (MetaCons "Exists" PrefixI False) (U1 *)) (C1 * (MetaCons "DoesNotExist" PrefixI False) (U1 *)))

data TableType Source #

Constructors

Table 
View 

Instances

Eq TableType Source # 
Data TableType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TableType -> c TableType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TableType #

toConstr :: TableType -> Constr #

dataTypeOf :: TableType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c TableType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TableType) #

gmapT :: (forall b. Data b => b -> b) -> TableType -> TableType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TableType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TableType -> r #

gmapQ :: (forall d. Data d => d -> u) -> TableType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TableType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TableType -> m TableType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TableType -> m TableType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TableType -> m TableType #

Ord TableType Source # 
Show TableType Source # 
Generic TableType Source # 

Associated Types

type Rep TableType :: * -> * #

Arbitrary TableType Source # 
ToJSON TableType Source # 
FromJSON TableType Source # 
type Rep TableType Source # 
type Rep TableType = D1 * (MetaData "TableType" "Database.Sql.Type.TableProps" "queryparser-0.1.0.1-L3r1ujeH5Ss7CLthXKM008" False) ((:+:) * (C1 * (MetaCons "Table" PrefixI False) (U1 *)) (C1 * (MetaCons "View" PrefixI False) (U1 *)))