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