Copyright | (c) 2013 Leon P Smith |
---|---|
License | BSD3 |
Maintainer | Leon P Smith <leon@melding-monads.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data HStoreBuilder
- newtype HStoreText = HStoreText Builder
- parseHStore :: Parser (Either UnicodeException HStoreList)
- parseHStoreKeyVal :: Parser (Either UnicodeException (Text, Text))
- parseHStoreText :: Parser (Either UnicodeException Text)
Documentation
data HStoreBuilder Source #
Represents valid hstore syntax.
Instances
Semigroup HStoreBuilder Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation (<>) :: HStoreBuilder -> HStoreBuilder -> HStoreBuilder # sconcat :: NonEmpty HStoreBuilder -> HStoreBuilder # stimes :: Integral b => b -> HStoreBuilder -> HStoreBuilder # | |
Monoid HStoreBuilder Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation mempty :: HStoreBuilder # mappend :: HStoreBuilder -> HStoreBuilder -> HStoreBuilder # mconcat :: [HStoreBuilder] -> HStoreBuilder # | |
ToField HStoreBuilder Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation toField :: HStoreBuilder -> Action Source # | |
ToHStore HStoreBuilder Source # | |
newtype HStoreText Source #
Represents escape text, ready to be the key or value to a hstore value
Instances
Semigroup HStoreText Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation (<>) :: HStoreText -> HStoreText -> HStoreText # sconcat :: NonEmpty HStoreText -> HStoreText # stimes :: Integral b => b -> HStoreText -> HStoreText # | |
Monoid HStoreText Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation mempty :: HStoreText # mappend :: HStoreText -> HStoreText -> HStoreText # mconcat :: [HStoreText] -> HStoreText # | |
ToHStoreText HStoreText Source # | |
Defined in Database.PostgreSQL.Simple.HStore.Implementation toHStoreText :: HStoreText -> HStoreText Source # |
parseHStoreKeyVal :: Parser (Either UnicodeException (Text, Text)) Source #