| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rel8.Expr.Text
Synopsis
- (++.) :: Expr Text -> Expr Text -> Expr Text
- (~.) :: Expr Text -> Expr Text -> Expr Bool
- (~*) :: Expr Text -> Expr Text -> Expr Bool
- (!~) :: Expr Text -> Expr Text -> Expr Bool
- (!~*) :: Expr Text -> Expr Text -> Expr Bool
- bitLength :: Expr Text -> Expr Int32
- charLength :: Expr Text -> Expr Int32
- lower :: Expr Text -> Expr Text
- octetLength :: Expr Text -> Expr Int32
- upper :: Expr Text -> Expr Text
- ascii :: Expr Text -> Expr Int32
- btrim :: Expr Text -> Maybe (Expr Text) -> Expr Text
- chr :: Expr Int32 -> Expr Text
- convert :: Expr ByteString -> Expr Text -> Expr Text -> Expr ByteString
- convertFrom :: Expr ByteString -> Expr Text -> Expr Text
- convertTo :: Expr Text -> Expr Text -> Expr ByteString
- decode :: Expr Text -> Expr Text -> Expr ByteString
- encode :: Expr ByteString -> Expr Text -> Expr Text
- initcap :: Expr Text -> Expr Text
- left :: Expr Text -> Expr Int32 -> Expr Text
- length :: Expr Text -> Expr Int32
- lengthEncoding :: Expr ByteString -> Expr Text -> Expr Int32
- lpad :: Expr Text -> Expr Int32 -> Maybe (Expr Text) -> Expr Text
- ltrim :: Expr Text -> Maybe (Expr Text) -> Expr Text
- md5 :: Expr Text -> Expr Text
- pgClientEncoding :: Expr Text
- quoteIdent :: Expr Text -> Expr Text
- quoteLiteral :: Expr Text -> Expr Text
- quoteNullable :: Expr Text -> Expr Text
- regexpReplace :: Expr Text -> Expr Text -> Expr Text -> Maybe (Expr Text) -> Expr Text
- regexpSplitToArray :: Expr Text -> Expr Text -> Maybe (Expr Text) -> Expr [Text]
- repeat :: Expr Text -> Expr Int32 -> Expr Text
- replace :: Expr Text -> Expr Text -> Expr Text -> Expr Text
- reverse :: Expr Text -> Expr Text
- right :: Expr Text -> Expr Int32 -> Expr Text
- rpad :: Expr Text -> Expr Int32 -> Maybe (Expr Text) -> Expr Text
- rtrim :: Expr Text -> Maybe (Expr Text) -> Expr Text
- splitPart :: Expr Text -> Expr Text -> Expr Int32 -> Expr Text
- strpos :: Expr Text -> Expr Text -> Expr Int32
- substr :: Expr Text -> Expr Int32 -> Maybe (Expr Int32) -> Expr Text
- translate :: Expr Text -> Expr Text -> Expr Text -> Expr Text
String concatenation
(++.) :: Expr Text -> Expr Text -> Expr Text infixr 6 Source #
The PostgreSQL string concatenation operator.
Regular expression operators
(~.) :: Expr Text -> Expr Text -> Expr Bool infix 2 Source #
Matches regular expression, case sensitive
Corresponds to the ~. operator.
(~*) :: Expr Text -> Expr Text -> Expr Bool infix 2 Source #
Matches regular expression, case insensitive
Corresponds to the ~* operator.
(!~) :: Expr Text -> Expr Text -> Expr Bool infix 2 Source #
Does not match regular expression, case sensitive
Corresponds to the !~ operator.
(!~*) :: Expr Text -> Expr Text -> Expr Bool infix 2 Source #
Does not match regular expression, case insensitive
Corresponds to the !~* operator.
Standard SQL functions
charLength :: Expr Text -> Expr Int32 Source #
Corresponds to the char_length function.
octetLength :: Expr Text -> Expr Int32 Source #
Corresponds to the octet_length function.
PostgreSQL functions
convert :: Expr ByteString -> Expr Text -> Expr Text -> Expr ByteString Source #
Corresponds to the convert function.
convertFrom :: Expr ByteString -> Expr Text -> Expr Text Source #
Corresponds to the convert_from function.
convertTo :: Expr Text -> Expr Text -> Expr ByteString Source #
Corresponds to the convert_to function.
lengthEncoding :: Expr ByteString -> Expr Text -> Expr Int32 Source #
Corresponds to the length function.
lpad :: Expr Text -> Expr Int32 -> Maybe (Expr Text) -> Expr Text Source #
Corresponds to the lpad function.
pgClientEncoding :: Expr Text Source #
Corresponds to the pg_client_encoding() expression.
quoteIdent :: Expr Text -> Expr Text Source #
Corresponds to the quote_ident function.
quoteLiteral :: Expr Text -> Expr Text Source #
Corresponds to the quote_literal function.
quoteNullable :: Expr Text -> Expr Text Source #
Corresponds to the quote_nullable function.
regexpReplace :: Expr Text -> Expr Text -> Expr Text -> Maybe (Expr Text) -> Expr Text Source #
Corresponds to the regexp_replace function.
regexpSplitToArray :: Expr Text -> Expr Text -> Maybe (Expr Text) -> Expr [Text] Source #
Corresponds to the regexp_split_to_array function.
replace :: Expr Text -> Expr Text -> Expr Text -> Expr Text Source #
Corresponds to the replace function.
rpad :: Expr Text -> Expr Int32 -> Maybe (Expr Text) -> Expr Text Source #
Corresponds to the rpad function.
splitPart :: Expr Text -> Expr Text -> Expr Int32 -> Expr Text Source #
Corresponds to the split_part function.