{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/knex/issues/855","labels_url":"https://api.github.com/repos/tgriesser/knex/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/855/comments","events_url":"https://api.github.com/repos/tgriesser/knex/issues/855/events","html_url":"https://github.com/tgriesser/knex/issues/855","id":83466804,"number":855,"title":"Query Event 8.6 not triggering like before","user":{"login":"wubzz","id":10179061,"avatar_url":"https://avatars.githubusercontent.com/u/10179061?v=3","gravatar_id":"","url":"https://api.github.com/users/wubzz","html_url":"https://github.com/wubzz","followers_url":"https://api.github.com/users/wubzz/followers","following_url":"https://api.github.com/users/wubzz/following{/other_user}","gists_url":"https://api.github.com/users/wubzz/gists{/gist_id}","starred_url":"https://api.github.com/users/wubzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wubzz/subscriptions","organizations_url":"https://api.github.com/users/wubzz/orgs","repos_url":"https://api.github.com/users/wubzz/repos","events_url":"https://api.github.com/users/wubzz/events{/privacy}","received_events_url":"https://api.github.com/users/wubzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-01T12:26:08Z","updated_at":"2015-06-01T12:41:33Z","closed_at":null,"body":"Hey.\r\n\r\nUpdated my knex package from 7.6 -> 8.6 (big leap, I know). By doing so, it appears the Query Event is not being triggered as it used to. Is this something you're aware of?\r\n\r\nExample code:\r\n```javascript\r\nknexDb.on('query', function() {\r\nvar debugVariable = ''; //Never get here, not triggering\r\n});\r\n```\r\n\r\nEverything is run through transactions (if that matters?). We're very dependant on this event as we append SchemaName (Postgres) to the queries.\r\n\r\nI couldn't find anything relating to this in the changelog, but please do correct me if I missed it.\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/tgriesser/knex/issues/comments/107427289","html_url":"https://github.com/tgriesser/knex/issues/855#issuecomment-107427289","issue_url":"https://api.github.com/repos/tgriesser/knex/issues/855","id":107427289,"user":{"login":"tgriesser","id":154748,"avatar_url":"https://avatars.githubusercontent.com/u/154748?v=3","gravatar_id":"","url":"https://api.github.com/users/tgriesser","html_url":"https://github.com/tgriesser","followers_url":"https://api.github.com/users/tgriesser/followers","following_url":"https://api.github.com/users/tgriesser/following{/other_user}","gists_url":"https://api.github.com/users/tgriesser/gists{/gist_id}","starred_url":"https://api.github.com/users/tgriesser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgriesser/subscriptions","organizations_url":"https://api.github.com/users/tgriesser/orgs","repos_url":"https://api.github.com/users/tgriesser/repos","events_url":"https://api.github.com/users/tgriesser/events{/privacy}","received_events_url":"https://api.github.com/users/tgriesser/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T12:41:33Z","updated_at":"2015-06-01T12:41:33Z","body":"Ah, yep transactions got a big internal overhaul and I think I forgot to proxy the events on the \"transaction\" client back through to the original client.\r\n\r\nAlso, are you saying that you're using the event to mutate the object passed to the event, modifying the sql before it goes into the query? If so I might need to change else to support this behavior."}}