Example Example code for GH issue haskell-beam/beam#646 See files: src/Lib.hs and src/testdb.sql Running the example $ stack ghci ghci> testQuery