queryparser-vertica-0.1.0.1: Parsing for Vertica SQL queries

Safe HaskellNone
LanguageHaskell2010

Database.Sql.Vertica.Parser

Synopsis

Documentation

parse :: Text -> Either ParseError (VerticaStatement RawNames Range) Source #

parse consumes a statement, or fails

parseAll :: Text -> Either ParseError (VerticaStatement RawNames Range) Source #

parseAll consumes all input as a single statement, or fails

parseMany :: Text -> Either ParseError [VerticaStatement RawNames Range] Source #

parseMany consumes multiple statements, or fails

parseManyAll :: Text -> Either ParseError [VerticaStatement RawNames Range] Source #

parseManyAll consumes all input multiple statements, or fails

parseManyEithers :: Text -> Either ParseError [Either (Unparsed Range) (VerticaStatement RawNames Range)] Source #

parseManyEithers consumes all input as multiple (statements or failures) it should never fail

mkBinOp :: (Text, a) -> Expr r a -> Expr r a -> Expr r a Source #