1
Fork 0

update docs

This commit is contained in:
Jake Wheat 2014-04-18 23:51:05 +03:00
parent 7a84704516
commit 6b5a29c052
3 changed files with 110 additions and 75 deletions
Language/SQL/SimpleSQL

View file

@ -962,7 +962,7 @@ allows offset and fetch in either order
> fetch :: Parser ValueExpr
> fetch = choice [ansiFetch, limit]
> where --todo: better left factoring
> where
> fs = makeKeywordTree ["fetch first", "fetch next"]
> ro = makeKeywordTree ["rows only", "row only"]
> ansiFetch = fs *> valueExpr <* ro
@ -1208,7 +1208,7 @@ todo: work out the symbol parsing better
> optionSuffix moreString (s0 ++ "'" ++ s)
> ,-- handle string in separate parts
> -- e.g. 'part 1' 'part 2'
> do
> do --can this whitespace be factored out?
> try (whitespace <* nlquote)
> s <- manyTill anyChar nlquote
> optionSuffix moreString (s0 ++ s)