yeshql 3.0.1.1 → 3.0.1.2
raw patch · 4 files changed
+15/−1 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- tests/fixtures/getUser.sql +3/−0
- tests/fixtures/getUserNamed.sql +3/−0
- tests/fixtures/multiQueries.sql +7/−0
- yeshql.cabal +2/−1
+ tests/fixtures/getUser.sql view
@@ -0,0 +1,3 @@+-- :: [(Int, String)]+-- :userID :: Int+SELECT id, username FROM users WHERE id = :userID
+ tests/fixtures/getUserNamed.sql view
@@ -0,0 +1,3 @@+-- name:getUser :: [(Int, String)]+-- :userID :: Int+SELECT id, username FROM users WHERE id = :userID
+ tests/fixtures/multiQueries.sql view
@@ -0,0 +1,7 @@+-- :: rowcount Integer+BLAH+;;;+-- name: multiQueriesNamed :: rowcount Integer+PIZZA+;;;+OLIVES
yeshql.cabal view
@@ -1,5 +1,5 @@ name: yeshql-version: 3.0.1.1+version: 3.0.1.2 synopsis: YesQL-style SQL database abstraction description: Use quasi-quotations or TemplateHaskell to write SQL in SQL, while adding type annotations to turn SQL into well-typed Haskell@@ -12,6 +12,7 @@ category: Database build-type: Simple extra-source-files: README.md+ , tests/fixtures/*.sql cabal-version: >=1.10 library