115 results found
-
Futures feature
Values which should be computed only when outputting data, can be stored as futures.
7 votes -
7 votes
-
Ability to select and copy fields and values in firestore document
Ability to select and copy fields and values in firestore document, more like making everything selectable text.
6 votes -
Wildcard index exemptions
Firestore automatically indexes all fields in all collections adding to storage size and slowing write performance.
We can add single-field exemptions but we need to list all fields separately and there is a database-wide limit of 200 field exemptions.
In a highly optimised use case we would want to index only specific fields that we know we query on, and just exclude all others.
It's almost like the current behaviour is a database for novices, but we can't optimise for serious production.
We need either a wildcard exclusion, or effectively just a switch/setting that says "only fields with explicit index…
6 votes -
Support array-contains-prefix operator in Firestore
You can build a search index in a Firestore collection by storing an array of search words.
If you query this property using 'array_contains' you get exact matches for your search string.
If you wish to build a prefix search, then you potentially need to store all prefixes of the words you need to index.Assuming that the array-contains is performing some kind of index scan, it would appear that it was possible to create an array-contains-prefix such that:
where('index', 'array-contains-prefix', 'fire')
would match the following documents[
{ index: ["firestore", "database"],
...
},
{ index: ["firebase", "dog"],
...
}…
6 votes -
Support offset-based document access and pagination
There should be an easy way to get a specific document by index in a query:
// this query should work as it's read, if i wanted to use gte i'd use a where
query(this.collection, orderBy('anything', 'asc'), startAt(index), limit(1))
5 votes -
Encrypted Collections in Firestore
Ability to mark certain collections to be Encrypted so it's not readable even in the firebase console.
There are some application types that require this sort of behaviour to increase security.
Say you are building a messaging app, you would not want the messages between your users to be seen on the console.
5 votes -
Duplicate document in collection in Firestore
Duplicate document in collection in Firestore
4 votes -
Create way to duplicate documents within firebase console so we can easily move them elsewhere
Sometimes it would be nice to have ability to use the console to Duplicate/Copy firestore documents and put them in different locations of the database.
4 votes -
It's impossible to import data into the emulator without first exporting, which is a backwards design
Developers should be able to use the CLI to easily pass in a path to a json file, whose contents may be imported into a firestore emulator collection. For instance:
firebase emulators:start --import ./data/import.json --collection=puzzles
4 votes -
Firestore return problem path with PERMISSION_DENIED error
While committing a batch to firestore, if a documents breaks one of the security rules, we only receive: Status{code=PERMISSION_DENIED, description=Missing or insufficient permissions., cause=null}
That doesn't tell me which document in the batch has the issue. Can you add the document path the is causing the error? Potentially in the "cause" field?The logic behind this is that we are seeing Crashlytics reports on our android project with these PERMISSION_DENIED errors, and it is near impossible to track it down without more data.
4 votes -
Way to access tracelog of firestore events (onCreate, onUpdate, onDelete)
One frequent and strange bug we are facing with firestore is the dropping of events when designing large batch onWrite-listeners. This leads to unexpected bugs in production code.
For some reason, when executing say 300 to 1000 onCreates at once, different events seem to drop and are never responded too.
A way to access the tracelog of firestore events (in Stage 1 Cloud functions) would help us debug this problem. It would also help replay event streams in case the database is corrupted due to non-responding to the event streams.
4 votes -
Allow running Firestore queries from console
Running quick queries straight from the console is currently impossible, making it hard to make adjustments DB wide without fiddling with code.
4 votes -
🔥🗑️ Desaster recovery for full firebase project
It would be great to have a daily disaster recovery feature for the entire Firebase project, not just Firestore. Rollouts can corrupt auth objects or storage files (e.g. user images), and while Storage backups can be automate (e.g. via Transfer Service), there's no built-in way to automatically back up and restore Firebase Auth. Ideally, there would be a "Timeline" tab in the console, allowing you to rollback the full project—Auth, Firestore, Storage, or any other service used —to any recent daily snapshot, with of course costs depending on read/write/storage usage. This would significantly improve safety and confidence during production changes.…
3 votes -
3 votes
-
Is anyone else unable to sign into the support page?
Whenever trying to sign into the support page to log an issue the page refreshes but does not sign me or my coworkers in, is anyone else experiencing this issue? I have been unable to find any support from firebase, hoping this gets some traction.
3 votes -
3 votes
-
Firestore collection group query on document id
Currently, you cannot use Fieldpath.document_id for collection group queries, which is rather shameful considering you can do that in Firebase UI.
Relevant StackOverflow: https://stackoverflow.com/questions/56188250/how-to-perform-collection-group-query-using-document-id-in-cloud-firestore
3 votes -
Daily usage limitation chart
We were keep getting the Firestore Quota message tough the usage was just 2% in our billing.
After reaching out to the Firebase team, we found out that there are also daily limitations for each action (Read, Write,..) that was hidden in google cloud console.The suggestion is to make the daily limitation chart visible in Firebase, as this error is effecting the users directly.
3 votes -
request.query security rules
currently security rules can only check, "limit, orderby and offset" properties of "request.query" object. if they could check our own custom properties , for example, when users search a collection by id, and I only want them to see a list of documents which contain their id then i should be able to do this in the rules
posts/{postId} {
list: if request.query.id == request.auth.uid
}
- this would be really beautiful and makes it way easy to secure list request.3 votes
- Don't see your idea?