Fix valkey's documentation.

This commit is contained in:
Felipe Lessa 2015-05-12 12:39:38 -03:00
parent 5763a9d963
commit b20fe09755

View File

@ -377,7 +377,7 @@ import qualified Database.Persist
----------------------------------------------------------------------
-- | @valkey i = val (Key (PersistInt64 i))@
-- | @valkey i = 'val' . 'toSqlKey'@
-- (<https://github.com/meteficha/esqueleto/issues/9>).
valkey :: (Esqueleto query expr backend, ToBackendKey SqlBackend entity, PersistField (Key entity)) =>
Int64 -> expr (Value (Key entity))