Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- get_total_messages() {
- this.messages_collection = this.afs.collection<MessageEntity>('messages');
- return this.messages_collection.snapshotChanges();
- }
- this.firebase_Service.get_total_messages().subscribe( data => {
- console.log(data);
- });
Add Comment
Please, Sign In to add comment