Interface IScope
Assembly: Couchbase.NetClient.dll
Syntax
public interface IScope : ISearchRequester
Properties
|
Edit this page
View Source
Bucket
The bucket that owns this scope.
Declaration
Property Value
|
Edit this page
View Source
EventingFunctions
Gets a management interface for scope-level Eventing Functions.
Declaration
IEventingFunctionManager EventingFunctions { get; }
Property Value
|
Edit this page
View Source
IsDefaultScope
Returns true if this is the default scope.
Declaration
bool IsDefaultScope { get; }
Property Value
|
Edit this page
View Source
this[string]
Declaration
ICouchbaseCollection this[string name] { get; }
Parameters
Type |
Name |
Description |
string |
name |
|
Property Value
|
Edit this page
View Source
Name
Declaration
Property Value
|
Edit this page
View Source
SearchIndexes
Gets a management interface for scope-level FTS and Vector Search indexes.
Declaration
ISearchIndexManager SearchIndexes { get; }
Property Value
Methods
|
Edit this page
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.
|
|
Edit this page
View Source
Collection(string)
Declaration
ICouchbaseCollection Collection(string collectionName)
Parameters
Type |
Name |
Description |
string |
collectionName |
|
Returns
|
Edit this page
View Source
CollectionAsync(string)
Declaration
ValueTask<ICouchbaseCollection> CollectionAsync(string collectionName)
Parameters
Type |
Name |
Description |
string |
collectionName |
|
Returns
|
Edit this page
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