What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-12 17:50:04
AngularFireDatabase is not a observable??
// change to valueChanges() constructor(afDb: AngularFireDatabase) { afDb.list('items').subscribe(console.log); } //to constructor(afDb: AngularFireDatabase) { afDb.list<Item>('items').valueChanges().subscribe(console.log); } Add solution -
Javascript 2021-10-29 02:25:14
inject firebase in angularjs
<!-- AngularJS --> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.1/angular.min.js"></script> <!-- Firebase --> <script src="https://www.gstatic.com/firebasejs/3.6.6/firebase.js"></sc... Add solution -
Other 2021-10-05 02:54:02
firestore generate unique id
let newUid = AngularFirestore.createId(); Add solution -
Javascript 2021-09-25 01:47:03
AngularFireDatabase não é mais um observable??
// change to valueChanges() constructor(afDb: AngularFireDatabase) { afDb.list('items').subscribe(console.log); } //to constructor(afDb: AngularFireDatabase) { afDb.list<Item>('items').valueChanges().subscribe(console.log); } Add solution -
TypeScript 2021-09-19 23:05:02
orderBy firebase angular
import { map, take } from 'rxjs/operators'; import { Observable } from 'rxjs'; public allProducts: Observable<any[]>; public amazonCollection: AngularFirestoreCollection; this.amazonCollection = this.afs.collection('amazon', (ref) => r... Add solution -
Other 2021-09-16 19:34:04
auth.js:295 Uncaught ReferenceError: global is not defined at Object.5paC
Erro with Angular 11 with angularfire2 Add following code in your starting page e.g. index.html //var global = global || window; //var Buffer = Buffer || []; //var process = process || { // env: { DEBUG: undefined }, // version: [] //}; Ex: <!doct... Add solution -
TypeScript 2021-09-02 06:35:01
how to update firebase document field angular
// how to create a collection tutorials: Observable<any[]>; // db: AngularFireStore this.tutorials = db.collection('tutorials').valueChanges(); // To get meta data and create collection tutorials: Observable<any[]>; this.tutorials = db.collec... Add solution
Best helpers
Ranking is empty