Interface IScope
Assembly: Couchbase.NetClient.dll
Syntax
Properties
|
Improve this Doc
View Source
Bucket
The bucket that owns this scope.
Declaration
Property Value
|
Improve this Doc
View Source
IsDefaultScope
Returns true if this is the default scope.
Declaration
bool IsDefaultScope { get; }
Property Value
|
Improve this Doc
View Source
Item[String]
Declaration
ICouchbaseCollection this[string name] { get; }
Parameters
Type |
Name |
Description |
String |
name |
|
Property Value
|
Improve this Doc
View Source
Name
Declaration
Property Value
Methods
|
Improve this Doc
View Source
AnalyticsQueryAsync<T>(String, AnalyticsOptions)
Scope level analytics querying of collections.
Declaration
Task<IAnalyticsResult<T>> AnalyticsQueryAsync<T>(string statement, AnalyticsOptions options = null)
Parameters
Type |
Name |
Description |
String |
statement |
The N1QL statement to be executed.
|
AnalyticsOptions |
options |
Any optional parameters to pass with the query.
|
Returns
Type Parameters
Name |
Description |
T |
The record type returned by the query.
|
|
Improve this Doc
View Source
Collection(String)
Declaration
ICouchbaseCollection Collection(string collectionName)
Parameters
Type |
Name |
Description |
String |
collectionName |
|
Returns
|
Improve this Doc
View Source
CollectionAsync(String)
Declaration
ValueTask<ICouchbaseCollection> CollectionAsync(string collectionName)
Parameters
Type |
Name |
Description |
String |
collectionName |
|
Returns
|
Improve this Doc
View Source
QueryAsync<T>(String, QueryOptions)
Scope level querying of collections.
Declaration
Task<IQueryResult<T>> QueryAsync<T>(string statement, QueryOptions options = null)
Parameters
Type |
Name |
Description |
String |
statement |
The N1QL statement to be executed.
|
QueryOptions |
options |
Any optional parameters to pass with the query.
|
Returns
Type Parameters
Name |
Description |
T |
The record type returned by the query.
|
Extension Methods