{"action":"created","issue":{"url":"https://api.github.com/repos/robconery/massive-js/issues/64","labels_url":"https://api.github.com/repos/robconery/massive-js/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/robconery/massive-js/issues/64/comments","events_url":"https://api.github.com/repos/robconery/massive-js/issues/64/events","html_url":"https://github.com/robconery/massive-js/issues/64","id":76355989,"number":64,"title":"Case Issue With Functions","user":{"login":"paulxtiseo","id":2977050,"avatar_url":"https://avatars.githubusercontent.com/u/2977050?v=3","gravatar_id":"","url":"https://api.github.com/users/paulxtiseo","html_url":"https://github.com/paulxtiseo","followers_url":"https://api.github.com/users/paulxtiseo/followers","following_url":"https://api.github.com/users/paulxtiseo/following{/other_user}","gists_url":"https://api.github.com/users/paulxtiseo/gists{/gist_id}","starred_url":"https://api.github.com/users/paulxtiseo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulxtiseo/subscriptions","organizations_url":"https://api.github.com/users/paulxtiseo/orgs","repos_url":"https://api.github.com/users/paulxtiseo/repos","events_url":"https://api.github.com/users/paulxtiseo/events{/privacy}","received_events_url":"https://api.github.com/users/paulxtiseo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-14T13:18:40Z","updated_at":"2015-05-14T16:41:55Z","closed_at":null,"body":"_Requested as its own ticket from issue #26_\r\n\r\nI have a function in postgresql as:\r\n```sql\r\nCREATE OR REPLACE FUNCTION \"getOrderByOperator\"(IN opid bigint)\r\n```\r\nNow, MassiveJS gives me a `db.getOrderByOperator()` to call. But, when I call it, it errors with `[error: function getorderbyoperator(unknown) does not exist]`. True, it does not exist, but only because it's (I'm assuming) lowercasing the whole thing rather than using it as-is.\r\n\r\nIs this fixed? Fixable? Is there a workaround short of constraining to snake casing or abandoning MassiveJS altogether?\r\n"},"comment":{"url":"https://api.github.com/repos/robconery/massive-js/issues/comments/102097751","html_url":"https://github.com/robconery/massive-js/issues/64#issuecomment-102097751","issue_url":"https://api.github.com/repos/robconery/massive-js/issues/64","id":102097751,"user":{"login":"xivSolutions","id":853147,"avatar_url":"https://avatars.githubusercontent.com/u/853147?v=3","gravatar_id":"","url":"https://api.github.com/users/xivSolutions","html_url":"https://github.com/xivSolutions","followers_url":"https://api.github.com/users/xivSolutions/followers","following_url":"https://api.github.com/users/xivSolutions/following{/other_user}","gists_url":"https://api.github.com/users/xivSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/xivSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xivSolutions/subscriptions","organizations_url":"https://api.github.com/users/xivSolutions/orgs","repos_url":"https://api.github.com/users/xivSolutions/repos","events_url":"https://api.github.com/users/xivSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/xivSolutions/received_events","type":"User","site_admin":false},"created_at":"2015-05-14T16:41:55Z","updated_at":"2015-05-14T16:41:55Z","body":"If you have mocha installed you should be able to just do 'mocha' from the project root"}}