{"action":"created","issue":{"url":"https://api.github.com/repos/typicode/lowdb/issues/98","repository_url":"https://api.github.com/repos/typicode/lowdb","labels_url":"https://api.github.com/repos/typicode/lowdb/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/typicode/lowdb/issues/98/comments","events_url":"https://api.github.com/repos/typicode/lowdb/issues/98/events","html_url":"https://github.com/typicode/lowdb/issues/98","id":148416805,"number":98,"title":"There are questions about database queries that return data","user":{"login":"faye198x","id":17183883,"avatar_url":"https://avatars.githubusercontent.com/u/17183883?v=3","gravatar_id":"","url":"https://api.github.com/users/faye198x","html_url":"https://github.com/faye198x","followers_url":"https://api.github.com/users/faye198x/followers","following_url":"https://api.github.com/users/faye198x/following{/other_user}","gists_url":"https://api.github.com/users/faye198x/gists{/gist_id}","starred_url":"https://api.github.com/users/faye198x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faye198x/subscriptions","organizations_url":"https://api.github.com/users/faye198x/orgs","repos_url":"https://api.github.com/users/faye198x/repos","events_url":"https://api.github.com/users/faye198x/events{/privacy}","received_events_url":"https://api.github.com/users/faye198x/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-14T16:32:37Z","updated_at":"2016-04-15T10:18:48Z","closed_at":null,"body":"Hi.techer!\r\n\r\n`db('posts')\r\n  .chain()\r\n  .filter({published: true})\r\n  .sortBy('views')\r\n  .take(5)\r\n  .value()`\r\n\r\nI would like to know the actual use of the code above, they should be used in what scenario.\r\nShould be used separately?\r\nOr used alone?\r\nFor example: {user:abc123 pwd:123 hp:100}... I want to modify the HP to 200, how to query and modify the correct?  (    find   user     deit \"hp\")\r\n\r\nFor example2:  ｛username:player01｝ {username:player02} ......{username:player100},\r\nI want to extract the top five username，And how to extract?"},"comment":{"url":"https://api.github.com/repos/typicode/lowdb/issues/comments/210403237","html_url":"https://github.com/typicode/lowdb/issues/98#issuecomment-210403237","issue_url":"https://api.github.com/repos/typicode/lowdb/issues/98","id":210403237,"user":{"login":"faye198x","id":17183883,"avatar_url":"https://avatars.githubusercontent.com/u/17183883?v=3","gravatar_id":"","url":"https://api.github.com/users/faye198x","html_url":"https://github.com/faye198x","followers_url":"https://api.github.com/users/faye198x/followers","following_url":"https://api.github.com/users/faye198x/following{/other_user}","gists_url":"https://api.github.com/users/faye198x/gists{/gist_id}","starred_url":"https://api.github.com/users/faye198x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faye198x/subscriptions","organizations_url":"https://api.github.com/users/faye198x/orgs","repos_url":"https://api.github.com/users/faye198x/repos","events_url":"https://api.github.com/users/faye198x/events{/privacy}","received_events_url":"https://api.github.com/users/faye198x/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T10:18:48Z","updated_at":"2016-04-15T10:18:48Z","body":"`const user = db('users').find({ username: 'player123' })\r\nuser.HP = 200\r\ndb.write()`\r\n\r\ndb.write()  Is to get the value of the mean?"}}