How to Switch Between Multiple Firestore Databases in the same firebase app
My Firebase project contains multiple Firestore databases, and I need to switch between these databases in my code.
Getting [Error: [firestore/failed-precondition] The query requires an index. when added where and orderBy togather
I am getting the [Error: [firestore/failed-precondition] The query requires an index. when i am adding the orderBy(‘createdAt’).
Getting error [Error: [firestore/failed-precondition] The query requires an index
I am getting the [Error: [firestore/failed-precondition] The query requires an index. when i am adding the orderBy(‘createdAt’).