Revert "unsafeSqlOrderBy"

Fixing EOrderRandom is the proper way to do this.
This commit is contained in:
Chris Allen 2017-07-13 18:20:32 -05:00
parent b7bbe98c11
commit e173a19f13

View File

@ -668,11 +668,6 @@ unsafeSqlValue :: TLB.Builder -> SqlExpr (Value a)
unsafeSqlValue v = ERaw Never $ const (v, mempty)
{-# INLINE unsafeSqlValue #-}
-- | (Internal) A raw SQL ordering. The same warning from
-- 'unsafeSqlBinOp' applies to this function as well.
unsafeSqlOrderBy :: TLB.Builder -> SqlExpr OrderBy
unsafeSqlOrderBy v = ERaw Never $ const (v, mempty)
{-# INLINE unsafeSqlOrderBy #-}
-- | (Internal) A raw SQL function. Once again, the same warning
-- from 'unsafeSqlBinOp' applies to this function as well.