openGemini / opengemini-client-go

CNCF openGemini Go Client Library
https://opengemini.org/
Apache License 2.0
24 stars 17 forks source link

failed to create database like "demo-test" if "-" in db name #44

Closed shilinlee closed 10 months ago

shilinlee commented 10 months ago
  1. https://github.com/openGemini/opengemini-client-go/blob/40fd91311772c9bc3e8f80939a865d787d037bba/opengemini/database.go#L34-L34

  2. https://github.com/openGemini/opengemini-client-go/blob/40fd91311772c9bc3e8f80939a865d787d037bba/opengemini/database.go#L88

failed to create database like "demo-test" if "-" in db name.

How to elegantly solve db names that require quotation marks and those that do not require quotation marks.

shoothzj commented 10 months ago

closed by #47