Reputation: 399
I don't know if here is the right place to ask this question. Anyway, what I want to do is to show Unique keys. Is it possible?
Upvotes: 0
Views: 84
Reputation: 34401
If you have Unique record
value you can use getBy
to get Entity record
and show its key.
do
r <- getBy u
let s = show $ entityKey r
Upvotes: 1