2 ms·
I use Firestore and it won't let your perform multi-field filter and order operations without an explicit index. When you try to do so, it spits out an error t
by CharlieDigital 4y ago
I use Firestore and it won't let your perform multi-field filter and order operations without an explicit index.
When you try to do so, it spits out an error that tells you this operation requires an index and then provides a link to create the specific index.
I know it is a different database paradigm, but I think this is great "UX" design.
Firebase has a bunch of additional great features in this vein. It allows definition of min/max instances for Functions and if you set the min instances in the code, it will force a confirmation of price changes to prevent any unexpected charges. (GitHub Actions will fail, for example, until the price increase is confirmed via CLI.)
So i get OP. Yes, it is the responsibility of the engineer to know these things and make decisions, but the vendor can provide much better UX around these constraints.