Created
July 19, 2014 10:31
-
-
Save Grandvizir/0dd20845161ffb942e19 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
con.with_connection do | connection | | |
connection = connection.raw_connection | |
query_result = connection.exec_params( | |
"DELETE FROM feed_relation_links | |
WHERE group_id = $1 AND element_type = $2 AND element_id = $3", | |
[ _id, _element_type, _element_id] | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment