{"action":"created","issue":{"url":"https://api.github.com/repos/typicode/lowdb/issues/89","labels_url":"https://api.github.com/repos/typicode/lowdb/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/typicode/lowdb/issues/89/comments","events_url":"https://api.github.com/repos/typicode/lowdb/issues/89/events","html_url":"https://github.com/typicode/lowdb/issues/89","id":127418810,"number":89,"title":"TypeError: arg.value is not a function","user":{"login":"lijy91","id":3889523,"avatar_url":"https://avatars.githubusercontent.com/u/3889523?v=3","gravatar_id":"","url":"https://api.github.com/users/lijy91","html_url":"https://github.com/lijy91","followers_url":"https://api.github.com/users/lijy91/followers","following_url":"https://api.github.com/users/lijy91/following{/other_user}","gists_url":"https://api.github.com/users/lijy91/gists{/gist_id}","starred_url":"https://api.github.com/users/lijy91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lijy91/subscriptions","organizations_url":"https://api.github.com/users/lijy91/orgs","repos_url":"https://api.github.com/users/lijy91/repos","events_url":"https://api.github.com/users/lijy91/events{/privacy}","received_events_url":"https://api.github.com/users/lijy91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T10:50:14Z","updated_at":"2016-01-20T17:58:49Z","closed_at":null,"body":"The error occurred 0.12.1 \r\n\r\nhttps://github.com/lijy91/alfred-coding-workflow/blob/dev/main.js\r\n\r\n```\r\n/Users/Lijy91/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.060322F2-E9AE-4758-BCDE-39FFC36C4D10/node_modules/lowdb/index.js:23\r\n        v = arg.value ? arg.value() : arg;\r\n                            ^\r\n\r\nTypeError: arg.value is not a function\r\n    at LodashWrapper.<anonymous> (/Users/Lijy91/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.060322F2-E9AE-4758-BCDE-39FFC36C4D10/node_modules/lowdb/index.js:23:29)\r\n    at LodashWrapper.find (/Users/Lijy91/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.060322F2-E9AE-4758-BCDE-39FFC36C4D10/node_modules/lowdb/node_modules/lodash/lodash.js:4104:35)\r\n    at Object.<anonymous> (/Users/Lijy91/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.060322F2-E9AE-4758-BCDE-39FFC36C4D10/main.js:129:46)\r\n    at Module._compile (module.js:397:26)\r\n    at Object.Module._extensions..js (module.js:404:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:429:10)\r\n    at startup (node.js:139:18)\r\n    at node.js:999:3\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/typicode/lowdb/issues/comments/173304848","html_url":"https://github.com/typicode/lowdb/issues/89#issuecomment-173304848","issue_url":"https://api.github.com/repos/typicode/lowdb/issues/89","id":173304848,"user":{"login":"typicode","id":5502029,"avatar_url":"https://avatars.githubusercontent.com/u/5502029?v=3","gravatar_id":"","url":"https://api.github.com/users/typicode","html_url":"https://github.com/typicode","followers_url":"https://api.github.com/users/typicode/followers","following_url":"https://api.github.com/users/typicode/following{/other_user}","gists_url":"https://api.github.com/users/typicode/gists{/gist_id}","starred_url":"https://api.github.com/users/typicode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/typicode/subscriptions","organizations_url":"https://api.github.com/users/typicode/orgs","repos_url":"https://api.github.com/users/typicode/repos","events_url":"https://api.github.com/users/typicode/events{/privacy}","received_events_url":"https://api.github.com/users/typicode/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T17:58:49Z","updated_at":"2016-01-20T17:58:49Z","body":"Hi,\r\n\r\nThanks for the issue, it seems to be a bug.\r\nIf a property is named `value` then it will fail:\r\n\r\n```js\r\nconst low = require('lowdb')\r\nconst db = low()\r\n\r\ndb('foo').push({a: 1, value: 2})\r\ndb('foo').find({a: 1}).value // error!\r\n```"}}