{"action":"closed","issue":{"url":"https://api.github.com/repos/theory/pgtap/issues/88","labels_url":"https://api.github.com/repos/theory/pgtap/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/theory/pgtap/issues/88/comments","events_url":"https://api.github.com/repos/theory/pgtap/issues/88/events","html_url":"https://github.com/theory/pgtap/issues/88","id":90992800,"number":88,"title":"results_eq variant that accepts parameters","user":{"login":"studdugie","id":3189701,"avatar_url":"https://avatars.githubusercontent.com/u/3189701?v=3","gravatar_id":"","url":"https://api.github.com/users/studdugie","html_url":"https://github.com/studdugie","followers_url":"https://api.github.com/users/studdugie/followers","following_url":"https://api.github.com/users/studdugie/following{/other_user}","gists_url":"https://api.github.com/users/studdugie/gists{/gist_id}","starred_url":"https://api.github.com/users/studdugie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/studdugie/subscriptions","organizations_url":"https://api.github.com/users/studdugie/orgs","repos_url":"https://api.github.com/users/studdugie/repos","events_url":"https://api.github.com/users/studdugie/events{/privacy}","received_events_url":"https://api.github.com/users/studdugie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-25T15:16:48Z","updated_at":"2015-06-27T23:55:14Z","closed_at":"2015-06-27T23:55:14Z","body":"The current results_eq already works with prepared statements. This request hopes that you'll extend that functionally by creating a variant that additionally accepts an hstore or JSON object literal string containing parameters to be passed to the prepared statement. The signature may look as follows:\r\nresult_eq(:name, :values, :result, :description)\r\nwhere\r\n:name - the prepared statement's name\r\n\r\n:values - a HSTORE or JSON object string literal containing the values to be used when executing the prepared statement and their data type names\r\n\r\n:result - cursor, VALUES string, or array (i.e., same behavior as original)\r\n\r\n:description - same behavior as original"}}