influxdata / influxdata/docs-v2

Provide an example of how to work with databases with quote in the name

Open
#2,328 2 comments 0 reactions 1 assignee View on GitHub

@pierwill is already working on this.

Since Jul 29, 2021.

InfluxDB v1 InfluxQL product:v1
Dominant language
JavaScript
Stars
82
Forks
326
Avg merge
1d 1h
Merged PRs (30d)
82

Description

Please explain that, to work with databases with quotes in the name, one needs to escape the quotes.

For instance, if a database is named `"test"` (with quotes in the name), then you need to escape the quotes using `\"test\"`.

I'm not sure why someone would put quotes in the name of a database; maybe it happens by accident. In any case, [this Twitter thread](https://twitter.com/ccnethercott/status/1373972674569994246) shows that this user struggled with it for a while before working out how to escape the quotes.

![image](https://user-images.githubusercontent.com/20701/112050267-e3f12700-8b0d-11eb-8a5b-e318cac4fb2f.png)

Perhaps an example or two could onto [this doc page](https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/)?

##### Relevant URLs
- https://twitter.com/ccnethercott/status/1373972674569994246
- https://docs.influxdata.com/influxdb/v1.8/query_language/manage-database/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.