Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
data ParsedLump Source #
Instances
Show ParsedLump Source # | |
Defined in Unison.Sqlite.Sql showsPrec :: Int -> ParsedLump -> ShowS # show :: ParsedLump -> String # showList :: [ParsedLump] -> ShowS # | |
Eq ParsedLump Source # | |
Defined in Unison.Sqlite.Sql (==) :: ParsedLump -> ParsedLump -> Bool # (/=) :: ParsedLump -> ParsedLump -> Bool # |
internalParseSql :: Text -> Either String [ParsedLump] Source #
Parse a SQL string, and return the list of lumps. Exported only for testing.