SQL: Remove some =ANY(?) from trr code, left there by mistake

This commit is contained in:
fr33domlover 2016-07-29 23:03:01 +00:00
parent dad1ed2e1f
commit 9ca7ab3a57

View file

@ -113,8 +113,6 @@ trrSelect proxy = do
, "ARRAY[", entityDB tNode ^* fieldDB (entityId tNode), "], "
, "FALSE"
, " FROM ", dbname $ entityDB tNode
, " WHERE ", entityDB tNode ^* fieldDB (entityId tNode)
, " = ANY(?)"
, " UNION ALL "
, sqlStep fwd bwd
, " )"
@ -197,8 +195,6 @@ trrApply proxy = do
, "ARRAY[", entityDB tNode ^* fieldDB (entityId tNode), "], "
, "FALSE"
, " FROM ", dbname $ entityDB tNode
, " WHERE ", entityDB tNode ^* fieldDB (entityId tNode)
, " = ANY(?)"
, " UNION ALL "
, sqlStep fwd bwd
, " ) DELETE FROM ", dbname $ entityDB tEdge
@ -300,8 +296,6 @@ trrFix edge proxy = do
, "ARRAY[", entityDB tNode ^* fieldDB (entityId tNode), "], "
, "FALSE, FALSE"
, " FROM ", dbname $ entityDB tNode
, " WHERE ", entityDB tNode ^* fieldDB (entityId tNode)
, " IN ?"
, " UNION ALL "
, sqlStep fwd bwd
, " ) DELETE FROM ", dbname $ entityDB tEdge