Skip to content

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

@fijemax

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 ?

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