Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to query Database with arbitrary ID #23

Open
dhetharia opened this issue May 26, 2024 · 0 comments
Open

Ability to query Database with arbitrary ID #23

dhetharia opened this issue May 26, 2024 · 0 comments

Comments

@dhetharia
Copy link

Is your feature request related to a problem? Please describe.
Yes. Multiple database have been GA for a little bit now. From what I've seen, I cannot specify the Database I want to query with FireQL.

Describe the solution you'd like
One of two things, in order of desirability.

  1. Query like so: select * from [DATABASE ID].users limit 1.
  2. Add the database ID when instantiating the client. This is unnecessarily limiting and requires changes in various clients. Myself, I'd like to use the Grafana plugins, which would then need updating. Option 1 would be my preference.

Describe alternatives you've considered
I searched through the code for about 20 minutes to see if there was an option provided for this and couldn't find it. Another alternative is migrating my database, but that's a non-starter.

Additional context
https://cloud.google.com/blog/products/databases/firestore-multiple-databases-is-now-generally-available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant