happstack-helpers-0.52: Convenience functions for Happstack.

Happstack.Data.IxSet.Helpers

Synopsis

Documentation

deleteWhere :: (Typeable k, Indexable a b, Ord a, Data a) => k -> IxSet a -> IxSet aSource

Sort of like a foreign key constraint, if macid were a normal rdbms.

Eg, say you have a table called RepoUsers. When a user (or repo) is deleted , all the RepoUsers that match it should also be deleted