| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Unison.Sqlite.Internal
Description
Internals exported for testing.
Synopsis
- data Param
- = FieldParam !Text
- | RowParam !Text !Int
- data ParsedLump
- = ParsedOuterLump !Text ![Param]
- | ParsedInnerLump !Text
- | ParsedInLump !Text
- | ParsedValuesLump !Text
- internalParseSql :: Text -> Either String [ParsedLump]
Documentation
Constructors
| FieldParam !Text | |
| RowParam !Text !Int |
data ParsedLump Source #
Constructors
| ParsedOuterLump !Text ![Param] | |
| ParsedInnerLump !Text | |
| ParsedInLump !Text | |
| ParsedValuesLump !Text |
Instances
| Show ParsedLump Source # | |
Defined in Unison.Sqlite.Sql Methods showsPrec :: Int -> ParsedLump -> ShowS # show :: ParsedLump -> String # showList :: [ParsedLump] -> ShowS # | |
| Eq ParsedLump Source # | |
Defined in Unison.Sqlite.Sql | |
internalParseSql :: Text -> Either String [ParsedLump] Source #
Parse a SQL string, and return the list of lumps. Exported only for testing.