Fix valkey's documentation.
This commit is contained in:
parent
5763a9d963
commit
b20fe09755
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user