Merge branch 'master' into skin

This commit is contained in:
Ruslan Talpa
2015-09-25 22:45:49 +03:00
7 changed files with 64 additions and 30 deletions
+3
View File
@@ -100,6 +100,9 @@ countT s =
countRows :: QualifiedIdentifier -> PStmt
countRows t = B.Stmt ("select pg_catalog.count(1) from " <> fromQi t) empty True
countNone :: PStmt
countNone = B.Stmt "select null" empty True
asCsvWithCount :: QualifiedIdentifier -> StatementT
asCsvWithCount table = withCount . asCsv table