{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angularfire2/issues/456","repository_url":"https://api.github.com/repos/angular/angularfire2","labels_url":"https://api.github.com/repos/angular/angularfire2/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/angular/angularfire2/issues/456/comments","events_url":"https://api.github.com/repos/angular/angularfire2/issues/456/events","html_url":"https://github.com/angular/angularfire2/issues/456","id":172250440,"number":456,"title":"Just get the value once with no subscribtion","user":{"login":"bradintheusa","id":1160356,"avatar_url":"https://avatars.githubusercontent.com/u/1160356?v=3","gravatar_id":"","url":"https://api.github.com/users/bradintheusa","html_url":"https://github.com/bradintheusa","followers_url":"https://api.github.com/users/bradintheusa/followers","following_url":"https://api.github.com/users/bradintheusa/following{/other_user}","gists_url":"https://api.github.com/users/bradintheusa/gists{/gist_id}","starred_url":"https://api.github.com/users/bradintheusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradintheusa/subscriptions","organizations_url":"https://api.github.com/users/bradintheusa/orgs","repos_url":"https://api.github.com/users/bradintheusa/repos","events_url":"https://api.github.com/users/bradintheusa/events{/privacy}","received_events_url":"https://api.github.com/users/bradintheusa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-20T03:15:04Z","updated_at":"2016-08-22T13:17:58Z","closed_at":null,"body":"Hi\r\n\r\nI want just a snapshot of a node and not subscribe to updates.  What is the best way to do this?  I tried\r\n\r\n```\r\nvar team = this.af.database.object('/teams/' , { preserveSnapshot: true }).first();\r\nteam.subscribe(snapshot => {\r\n     // code here....\r\n}\r\n```\r\n\r\nBut i get a compile error on the call to first{}\r\n\r\n`store.ts (187, 92): Property 'first' does not exist on type 'FirebaseObjectObservable<any>'.`\r\n\r\n\r\nWhat is the best way to no receive updates.\r\n\r\n\r\nThanks\r\nBrad"},"comment":{"url":"https://api.github.com/repos/angular/angularfire2/issues/comments/241409365","html_url":"https://github.com/angular/angularfire2/issues/456#issuecomment-241409365","issue_url":"https://api.github.com/repos/angular/angularfire2/issues/456","id":241409365,"user":{"login":"ray-z","id":3351699,"avatar_url":"https://avatars.githubusercontent.com/u/3351699?v=3","gravatar_id":"","url":"https://api.github.com/users/ray-z","html_url":"https://github.com/ray-z","followers_url":"https://api.github.com/users/ray-z/followers","following_url":"https://api.github.com/users/ray-z/following{/other_user}","gists_url":"https://api.github.com/users/ray-z/gists{/gist_id}","starred_url":"https://api.github.com/users/ray-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ray-z/subscriptions","organizations_url":"https://api.github.com/users/ray-z/orgs","repos_url":"https://api.github.com/users/ray-z/repos","events_url":"https://api.github.com/users/ray-z/events{/privacy}","received_events_url":"https://api.github.com/users/ray-z/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T13:17:58Z","updated_at":"2016-08-22T13:17:58Z","body":"This is what I will do:\r\n    \r\n    let team: any;\r\n    let teams = this.af.database.object('/teams/');\r\n    let subscriptions = teams.subscribe(snapshots => {\r\n        subscriptions.unsubscribe();\r\n        team = snapshots[0];\r\n    }\r\n\r\nIt seems there is no way to get date `once` only unless you use the original javascript. Please let me know if there is a better way."}}
{"actor":{"display_login":"ray-z"}}