Creates an instance of an object that implements
IViewQuery, which targets a given bucket and design document.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic IViewQuery CreateQuery(
string designdoc,
string viewname,
bool development
)
public IViewQuery CreateQuery(
string designdoc,
string viewname,
bool development
)
Public Function CreateQuery (
designdoc As String,
viewname As String,
development As Boolean
) As IViewQuery
Public Function CreateQuery (
designdoc As String,
viewname As String,
development As Boolean
) As IViewQuery
public:
virtual IViewQuery^ CreateQuery(
String^ designdoc,
String^ viewname,
bool development
) sealed
public:
virtual IViewQuery^ CreateQuery(
String^ designdoc,
String^ viewname,
bool development
) sealed
abstract CreateQuery :
designdoc : string *
viewname : string *
development : bool -> IViewQuery
override CreateQuery :
designdoc : string *
viewname : string *
development : bool -> IViewQuery
abstract CreateQuery :
designdoc : string *
viewname : string *
development : bool -> IViewQuery
override CreateQuery :
designdoc : string *
viewname : string *
development : bool -> IViewQuery
Parameters
- designdoc
- Type: System.String
The design document that the View belongs to.
- viewname
- Type: System.String
- development
- Type: System.Boolean
True will execute on the development dataset.
Return Value
Type:
IViewQueryAn
IViewQuery which can have more filters and options applied to it.
Implements
IBucket.CreateQuery(String, String, Boolean)
See Also