hpqtypes-extras-1.6.0.0: Extra utilities for hpqtypes library

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Model.Index

Synopsis

Documentation

indexOnColumns :: [RawSQL ()] -> TableIndex Source #

indexOnColumnWithMethod :: RawSQL () -> IndexMethod -> TableIndex Source #

Create an index on the given column with the specified method. No checks are made that the method is appropriate for the type of the column.

indexOnColumnsWithMethod :: [RawSQL ()] -> IndexMethod -> TableIndex Source #

Create an index on the given columns with the specified method. No checks are made that the method is appropriate for the type of the column; cf. the PostgreSQL manual.

indexName :: RawSQL () -> TableIndex -> RawSQL () Source #

sqlCreateIndex :: RawSQL () -> TableIndex -> RawSQL () Source #

sqlDropIndex :: RawSQL () -> TableIndex -> RawSQL () Source #