imports: [
BrowserModule,
IonicModule.forRoot(),
AppRoutingModule,
provideFirebaseApp(() => initializeApp(firebaseConfig)),
provideDatabase(() => getDatabase()),
My struggle is to be able to use it now to query Firebase db. I see examples for FireStore
where it does like
import { Firestore, collectionData, collection } from '@angular/fire/firestore';
and then use an instace to query.
Same thing does not work by importing Database. I dont see it even valid to import
import { FireDatabase } from '@angular/fire/database'
and if i import
import { Database } from '@angular/fire/database'
then i do not see .object or .list methods here. Please advise
Regards
Vikram