esqueleto-textsearch-1.0.0.3: PostgreSQL full text search for Esqueleto
Safe HaskellSafe-Inferred
LanguageHaskell2010

Database.Esqueleto.TextSearch.Types

Synopsis

Documentation

data TsQuery (a :: QueryType) where Source #

Constructors

Lexeme :: Position -> [Weight] -> Text -> TsQuery Lexemes 
Word :: Position -> [Weight] -> Text -> TsQuery Words 
(:&) :: TsQuery a -> TsQuery a -> TsQuery a infixr 3 
(:|) :: TsQuery a -> TsQuery a -> TsQuery a infixr 2 
Not :: TsQuery a -> TsQuery a 

type Words = 'Words Source #

type Lexemes = 'Lexemes Source #

data NormalizationOption Source #

Instances

Instances details
Bounded NormalizationOption Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

Enum NormalizationOption Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

Show NormalizationOption Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

Eq NormalizationOption Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

PersistField [NormalizationOption] Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

PersistFieldSql [NormalizationOption] Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

data Position Source #

Constructors

Prefix 
Infix 

Instances

Instances details
Show Position Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

Eq Position Source # 
Instance details

Defined in Database.Esqueleto.TextSearch.Types

def :: Default a => a #

The default value for this type.