Skip to content

Add a backquote on the bucket's name in the n1ql request #13

Description

@fijemax

My bucket is named "foo-prod", the n1ql query need backquote around the bucket due to the "-" caractere.
When I forget the backquote libcouchbase raise the following error :

Libcouchbase::Error::HttpError: 
	from libcouchbase (1.2.8) lib/libcouchbase/results_native.rb:45:in `stream'

Is it possible to automaticly insert backquote into the "from" sql statement ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions