From e173a19f137ee79e73baf06f2f1a83a4d4372c3c Mon Sep 17 00:00:00 2001 From: Chris Allen Date: Thu, 13 Jul 2017 18:20:32 -0500 Subject: [PATCH] Revert "unsafeSqlOrderBy" Fixing EOrderRandom is the proper way to do this. --- src/Database/Esqueleto/Internal/Sql.hs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Database/Esqueleto/Internal/Sql.hs b/src/Database/Esqueleto/Internal/Sql.hs index a5613d2..ec4578e 100644 --- a/src/Database/Esqueleto/Internal/Sql.hs +++ b/src/Database/Esqueleto/Internal/Sql.hs @@ -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.