Problem with retrieving items from Firebase database

Retrieving database information using this two pieces of code:

getSpecificProducts(idIssue: string): Observable<any> {

    return this.afs.collection<Product>('products', ref => ref.where ( 'idIssue' , '==' , idIssue )).valueChanges();
}
this.productsservice.getSpecificProducts(id).subscribe(data => {
        console.log(data);
});

This is how my Firebase database look like:


I am able to retrieve information like “idIssue, name, price”, but i need to get this “kMlJsWMPrpn54Y4YQz7M”
How to do this?

valueChanges removes all metadata including the id, you have to use snapshotChanges() i believe. See documentation below