Error while Trying to Unsucscribe

I am trying to unsubscribe but i keep on getting Type error uncaught(in promise)
unsubscribe is not a function.
i also tried dispose() i still get same error

ngOnInit(){
this.myq = this.db.object('score/'+this.ids+'/').map(usr => usr);
          this.myq.subscribe(usr => {
  			this.myscore = usr.score;
  			
  			console.log(this.myscore);
  			this.gameon(this.myscore);
  		});

}
ngOnDestroy() {
    this.myq.dispose();
  }

What am i doing wrong?

before
this.myq.unsubscribe() do
console.log(myq)