We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
we need to generate select with Tagged. Here's the general template:
{-@ assume selectRECORDTagged :: forall <p :: User -> Bool>. f:[RefinedFilter<p> RECORD typ] -> [SelectOpt RECORD] -> Control.Monad.Trans.Reader.ReaderT backend m (Tagged<p> [Entity {v:RECORD | evalQsRECORD f v}]) @-} selectRECORDTagged :: (PersistEntityBackend Friends ~ BaseBackend backend, PersistEntity RECORD, Control.Monad.IO.Class.MonadIO m, PersistQueryRead backend, PersistField typ) => [RefinedFilter RECORD typ] -> [SelectOpt RECORD] -> Control.Monad.Trans.Reader.ReaderT backend m (Tagged [Entity RECORD]) selectRECORDTagged fs ts = do xs <- selectList (map toPersistentFilter fs) ts return (Tagged xs)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
we need to generate select with Tagged. Here's the general template:
The text was updated successfully, but these errors were encountered: