Remove test code from Esqueleto.hs.
This commit is contained in:
parent
3330e6c4ee
commit
5bdac55e90
@ -19,9 +19,3 @@ import Database.Esqueleto.Internal.Language
|
||||
import Database.Esqueleto.Internal.Sql
|
||||
import Database.Persist.Store
|
||||
import Database.Persist.GenericSql
|
||||
|
||||
-- test :: (PersistField t, PersistEntity a, PersistEntity b, PersistEntityBackend a ~ SqlPersist, PersistEntityBackend b ~ SqlPersist) => EntityField b t -> SqlPersist IO [(Entity a, Single t, Entity b)]
|
||||
test f = select $ do
|
||||
(x,y,z) <- from
|
||||
where_ (z^.f ==. y^.f)
|
||||
return (x, y^.f, z)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user