Skip to content

Haskell Esqueleto support for various PostgreSQL specific extensions.

License

Notifications You must be signed in to change notification settings

harporoeder/esqueleto-postgresql-extra

Repository files navigation

Esqueleto PostgreSQL Extra

This package provides Esqueleto support for several PostgreSQL specific extensions. These extensions are not enabled by default in Postgres and may need to be explicitly enabled, or additionally compiled.

Extensions / Modules

Additional Persist Fields

Several extra Persistent field types are defined for integration with the various modules.

import Database.Esqueleto.PostgreSQL.HLL (HLL)
import Database.Esqueleto.PostgreSQL.TopN (TopN)
import Database.Esqueleto.PostgreSQL.UUID (UUID)

share [mkPersist sqlSettings, mkMigrate "migrateAll"] [persistLowerCase|
MyTable
  myCount HLL  -- HyperLogLog
  myRank  TopN -- Sketch TopN
  myId    UUID -- Standard UUID
|]

About

Haskell Esqueleto support for various PostgreSQL specific extensions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published