115 results found
-
custom gpt to firestore
I wanted to create my own GPT using OpenAI's new GPT builder which has "Functions" in it, and I wanted it to be able to use Firestore API to perform CRUD operations, but unfortunately I struggled to find documentation on how to do that.
2 votes -
Add Creator User UID to the Collection Record Metadata
Will allow further security validation and early detection of security checks failures.
To give an example of why this is important,
I use a Firebase Collection as an API alternative, I create a task record that triggers a cloud function, it allows me to manage my resources effectively and provide partial updates, way more flexible than traditional REST, however with API I use bearer tokens to verify that the identity of the person creating the record and deciding if they are allowed or 401, without UID in record metadata I have to send the plain UID as a field in…2 votes -
Firestore hosting in South Africa
Make Firestore and Firebase hosting available on the new Johannesburg Cloud Region; this will greatly assist developers in launching apps within the continent and also assist with local data protection regulations.
2 votes -
Support deleting databases via the API
You cannot delete a Firestore database with the API; you must use the CLI if you want to do this programmatically. This is problematic as it means you essentially need to create a shell in your application, ensure the CLI is available, authenticate, and then make the required CLI call.
2 votes -
Api to retrieve the list of subCollections present in a collection
We have unstructured data and each document can have different subcollections.
We want to know get the names of all the subcollections present in a collection.Currently we have to iterate over all the documents present in a collection and for each document we are pulling the list of subcollections present in it.
This process is very resource consuming and slow. We have to fire a query for each document present in the collection.Please provide an api something like db.collection("collectioName").listSubCollectionNames();
2 votes -
How to reduce reads for static data
I want to ask documentation on how to reduce the number of unnecessary reads. eg. my product data
let query = store.collection("products");
Assuming I have 500 products, one user click on get products = 500 reads ? If 100 users click that function, then all my quota is gone in 1 minute. Is that right?
How can I overcome this.
Please provide a full example. I have seen Mr Duckworth's presentation in a firebase event, but could not see a good example.
2 votes -
import
Firestore look like a hobby project. No import export facility to bring data from other database server like Mysql, Postgre, etc.
This prevent it from being used for serious application development and any developer will not recommend it to use.
Also there is no facility to run queries to see data, group by,and all those things.
Developer will not recommend it unless all these basic things are available.
1 vote -
Cloud Firestore with multitenant, how the implement Firestore in Datastore mode
That Cloud Firestore soport multitenat how the implement
Firestore in Datastore mode allows a multitenant application to use separated silos of data for each tenant.1 vote -
Continent
Support multi-region across different continents.
1 vote -
Export / Import single document on firestore console
Please add an option to export or import a single document from firestore console in firebase page, not in gcloud. Same way like we can do on firebase database export and import a json file with the data.
1 vote -
Request Query Parameters for Security Rules
Introduce a request.query.parameters object to store key-value pairs from the query payload, enabling conditional access control based on user authentication state.
Current workarounds, like nesting documents in sub-collections, restrict uniqueness to a single field. This proposal allows queries to be filtered dynamically based on multiple conditions.
For example, access can be restricted based on user authentication state or location.
if request.query.parameters.user == request.auth.uid if request.query.parameters.location == request.auth.token.region if request.query.parameters.email != null if request.query.parameters.email == request.auth.email
Privileged searches can be enabled with conditions such as:
if request.query.parameters.key == request.auth.token.vipkey
Range queries can be implemented using a function object to validate if…
1 vote -
1 vote
-
assign server timestamp in epoch format
adding a function like FieldValue.serverTimestamp() that does the same thing but assigns time in epoch format rather than in normal date time format.
it may be a better choice in order to reduce the data transfer and document collection size.
1 vote -
Similar to __name__, allow ordering documents by internal createdAt / updatedAt sentinel value
A document always maintain createdAt / updatedAt timestamp value internally. But these fields can't be used for ordering documents.
For example :-
(This is possible)
await citiesRef.orderBy('name').limit(3).get();
(This is NOT possible)
await citiesRef.orderBy('created_at').limit(3).get();
Currently if we need order by timestamp, we need to maintain a separate timestamp field alongside internal createdAt / updatedAt fields. Then create index over that additional field to perform order by timestamp.
Similar to name sentinel, firestore should provide created_at and updated_at sentinel for ordering document. These sentinel should work without any new index, ascending or descending order.
1 vote -
Enable keyboard navigation in Firestore console to move between documents using up/down arrow keys.
I suggest that Firebase enhances the Firestore console by adding support for keyboard navigation, allowing users to move between documents using the up and down arrow keys. This feature would improve accessibility and efficiency, especially for users who prefer using the keyboard over the mouse or trackpad. Implementing this functionality would make data management in Firestore more user-friendly and accessible to a wider range of users.
1 vote -
1 vote
-
Support UUID as a data type
I'm using Go client, and at this time UUIDs are represented as array of numbers. This doesn't make any sense and is quite clunky and unergonomic, but this is the client behaviour - the Go type
[16]byte
converts to that, and there is no way to affect it directly.This also means that a list of UUIDs is impossible to represent at all, since a Go slice converts into an array, and Firestore can't handle arrays in arrays. Btw, that by itself is ridiculous, but right now my problem is with UUIDs specifically.
A list of IDs is a trivial…
1 vote -
Allow cross-project restoring of Firestore databases
When working with Firestore databases, you may want to restore an entire database for testing in your stage project.
However, currently, you can only restore in the same project
1 vote -
rules map
In Firebase Firestore rules, we currently have various controls and functions, which are very handy. However, array management is not optimal. I propose introducing a map function for arrays in Firebase Firestore rules. This function would allow us to map arrays of objects, significantly simplifying the creation and management of rules.
1 vote -
Allow to assign tags to Firestore databases
With multi-db support in Firestore now launched, this enabled many possibilities but also requires more granular inventory management of the databases created.
--
For compliance reasons and for better management of your cloud assets, it's important to assign metadata to your cloud resources.
Especially for storage services, this is important, as it allows you to track which resources contain PII, who owns them, etc.--
Attaching this kind of data is typically done using tags in Google Cloud.
If it would be possible to attach tags to individual Firestore databases, this would solve the management of databases and allow easier…1 vote
- Don't see your idea?