2
が私のハンドラでイェソドデータベースの永続レコードアクセスの下
UserSetting
source ArticleSourceId
minimumShouldMatch Int
articleLength Int
userId UserId
deriving Show
models
ファイルであり、私は、エンティティ値vVal
上の例source
には使用しないことを見出しました。
(v:_) <- selectList [UserSettingUserId ==. asUd] [LimitTo 1]
let vVal = source $ entityVal v
let vId = entityKey v
エラーメッセージは、これは動作しますVariable not in scope: source :: UserSetting -> Integer