How to rename a bucket in couchbase?
问题 I have a bucket name 0001 when I use the following N1QL statement I get a "5000" syntax error: cbq> Select * from 0001; { "requestID": "f2b70856-f80c-4c89-ab37-740e82d119b5", "errors": [ { "code": 5000, "msg": "syntax error" } ], "status": "fatal", "metrics": { "elapsedTime": "349.733us", "executionTime": "204.442us", "resultCount": 0, "resultSize": 0, "errorCount": 1 } } I think it takes 0001 as a number and not as a bucket name, is there an easy way to rename it? 回答1: In this case you can