{"action":"closed","issue":{"url":"https://api.github.com/repos/BlinkUX/sequelize-mock/issues/12","repository_url":"https://api.github.com/repos/BlinkUX/sequelize-mock","labels_url":"https://api.github.com/repos/BlinkUX/sequelize-mock/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/BlinkUX/sequelize-mock/issues/12/comments","events_url":"https://api.github.com/repos/BlinkUX/sequelize-mock/issues/12/events","html_url":"https://github.com/BlinkUX/sequelize-mock/issues/12","id":231365482,"number":12,"title":"$autoQueryFallback isn't work","user":{"login":"demeshik","id":14158024,"avatar_url":"https://avatars1.githubusercontent.com/u/14158024?v=3","gravatar_id":"","url":"https://api.github.com/users/demeshik","html_url":"https://github.com/demeshik","followers_url":"https://api.github.com/users/demeshik/followers","following_url":"https://api.github.com/users/demeshik/following{/other_user}","gists_url":"https://api.github.com/users/demeshik/gists{/gist_id}","starred_url":"https://api.github.com/users/demeshik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demeshik/subscriptions","organizations_url":"https://api.github.com/users/demeshik/orgs","repos_url":"https://api.github.com/users/demeshik/repos","events_url":"https://api.github.com/users/demeshik/events{/privacy}","received_events_url":"https://api.github.com/users/demeshik/received_events","type":"User","site_admin":false},"labels":[{"id":465093807,"url":"https://api.github.com/repos/BlinkUX/sequelize-mock/labels/feature:%20Querying","name":"feature: Querying","color":"FFFFFF","default":false},{"id":457113578,"url":"https://api.github.com/repos/BlinkUX/sequelize-mock/labels/question","name":"question","color":"5319e7","default":true}],"state":"closed","locked":false,"assignee":{"login":"ktsashes","id":205630,"avatar_url":"https://avatars1.githubusercontent.com/u/205630?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsashes","html_url":"https://github.com/ktsashes","followers_url":"https://api.github.com/users/ktsashes/followers","following_url":"https://api.github.com/users/ktsashes/following{/other_user}","gists_url":"https://api.github.com/users/ktsashes/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsashes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsashes/subscriptions","organizations_url":"https://api.github.com/users/ktsashes/orgs","repos_url":"https://api.github.com/users/ktsashes/repos","events_url":"https://api.github.com/users/ktsashes/events{/privacy}","received_events_url":"https://api.github.com/users/ktsashes/received_events","type":"User","site_admin":false},"assignees":[{"login":"ktsashes","id":205630,"avatar_url":"https://avatars1.githubusercontent.com/u/205630?v=3","gravatar_id":"","url":"https://api.github.com/users/ktsashes","html_url":"https://github.com/ktsashes","followers_url":"https://api.github.com/users/ktsashes/followers","following_url":"https://api.github.com/users/ktsashes/following{/other_user}","gists_url":"https://api.github.com/users/ktsashes/gists{/gist_id}","starred_url":"https://api.github.com/users/ktsashes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktsashes/subscriptions","organizations_url":"https://api.github.com/users/ktsashes/orgs","repos_url":"https://api.github.com/users/ktsashes/repos","events_url":"https://api.github.com/users/ktsashes/events{/privacy}","received_events_url":"https://api.github.com/users/ktsashes/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-05-25T15:02:27Z","updated_at":"2017-05-25T20:47:16Z","closed_at":"2017-05-25T20:47:16Z","body":"I created my model such this:\r\nvar domainMock = dbMock.define('domains',{\r\n    'domain':simpletest.com',\r\n},{\r\n    '$autoQueryFallback':false\r\n});\r\n\r\nSo when i try to search domainMock.findOne({domain:\"anotherdomain.com\"}), instance create a new record\r\n\r\nOr I wrote a wrong code?"}}
{"actor":{"display_login":"ktsashes"}}