definition: |
valueToString :: SQLValue -> String valueToString x = replaceEmptyString $ case x of SQLString a -> "'" ++ encodeStringToSQL a ++ "'" SQLChar a -> "'" ++ encodeStringToSQL [a] ++ "'" SQLNull -> "NULL" SQLDate a -> "'" ++ show (toUTCTime a) ++ "'" SQLInt a -> show a--"'" ++ show a ++ "'" SQLFloat a -> show a --"'" ++ show a ++ "'" SQLBool a -> "'" ++ show a ++ "'" |
demand: |
no demanded arguments |
deterministic: |
deterministic operation |
documentation: |
-- Converts an SQLValue to its string representation. |
failfree: |
<FAILING> |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{(_) |-> _} |
name: |
valueToString |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
SQLValue -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |