Represents a client for interacting with a Fauna. More...
Public Member Functions | |
Task< QuerySuccess< T > > | QueryAsync< T > (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result. | |
Task< QuerySuccess< object?> > | QueryAsync (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously executes a specified FQL query against the Fauna database. | |
Task< QuerySuccess< T > > | QueryAsync< T > (Query query, ISerializer< T > serializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result. | |
Task< QuerySuccess< object?> > | QueryAsync (Query query, ISerializer serializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result. | |
IAsyncEnumerable< Page< T > > | PaginateAsync< T > (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. | |
IAsyncEnumerable< Page< T > > | PaginateAsync< T > (Page< T > page, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded. | |
IAsyncEnumerable< Page< object?> > | PaginateAsync (Query query, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. | |
IAsyncEnumerable< Page< object?> > | PaginateAsync (Page< object?> page, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded. | |
IAsyncEnumerable< Page< T > > | PaginateAsync< T > (Query query, ISerializer< T > elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. | |
IAsyncEnumerable< Page< T > > | PaginateAsync< T > (Page< T > page, ISerializer< T > elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded. | |
IAsyncEnumerable< Page< object?> > | PaginateAsync (Query query, ISerializer elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. | |
IAsyncEnumerable< Page< object?> > | PaginateAsync (Page< object?> page, ISerializer elemSerializer, QueryOptions? queryOptions=null, CancellationToken cancel=default) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded. | |
Task< T > | LoadRefAsync< T > (BaseRef< T > reference, CancellationToken cancel=default) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result. | |
Represents a client for interacting with a Fauna.
Definition at line 14 of file IClient.cs.
Task< T > Fauna.IClient.LoadRefAsync< T > | ( | BaseRef< T > | reference, |
CancellationToken | cancel = default |
||
) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
T | The type of the result expected from the query, corresponding to the structure of the FQL query's expected response. |
reference | The reference to load. |
cancel | A cancellation token to use |
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
NullDocumentException | Thrown when the provided reference does not exist. |
Implemented in Fauna.BaseClient.
T | : | notnull |
IAsyncEnumerable< Page< object?> > Fauna.IClient.PaginateAsync | ( | Page< object?> | page, |
ISerializer | elemSerializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
page | The FQL query object representing the query to be executed against the Fauna database. |
elemSerializer | A data serializer for the page element type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< object?> > Fauna.IClient.PaginateAsync | ( | Page< object?> | page, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
page | The initial page. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< object?> > Fauna.IClient.PaginateAsync | ( | Query | query, |
ISerializer | elemSerializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
query | The FQL query object representing the query to be executed against the Fauna database. |
elemSerializer | A data serializer for the page element type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< object?> > Fauna.IClient.PaginateAsync | ( | Query | query, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
query | The FQL query object representing the query to be executed against the Fauna database. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< T > > Fauna.IClient.PaginateAsync< T > | ( | Page< T > | page, |
ISerializer< T > | elemSerializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
T | The type of the data expected in each page. |
page | The initial page. |
elemSerializer | A data serializer for the page element type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< T > > Fauna.IClient.PaginateAsync< T > | ( | Page< T > | page, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor. The provided page is the first page yielded.
T | The type of the data expected in each page. |
page | The initial page. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
T | : | notnull |
IAsyncEnumerable< Page< T > > Fauna.IClient.PaginateAsync< T > | ( | Query | query, |
ISerializer< T > | elemSerializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
T | The type of the data expected in each page. |
query | The FQL query object representing the query to be executed against the Fauna database. |
elemSerializer | A data serializer for the page element type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
IAsyncEnumerable< Page< T > > Fauna.IClient.PaginateAsync< T > | ( | Query | query, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously iterates over pages of a Fauna query result, automatically fetching subsequent pages using the 'after' cursor.
T | The type of the data expected in each page. |
query | The FQL query object representing the query to be executed against the Fauna database. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
This method handles pagination by sending multiple requests to Fauna as needed, based on the presence of an 'after' cursor in the query results.
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
T | : | notnull |
Task< QuerySuccess< object?> > Fauna.IClient.QueryAsync | ( | Query | query, |
ISerializer | serializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
query | The FQL query object representing the query to be executed against the Fauna database. |
serializer | A serializer for the success data type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation toke to use. |
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
Task< QuerySuccess< object?> > Fauna.IClient.QueryAsync | ( | Query | query, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously executes a specified FQL query against the Fauna database.
query | The FQL query object representing the query to be executed against the Fauna database. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
Task< QuerySuccess< T > > Fauna.IClient.QueryAsync< T > | ( | Query | query, |
ISerializer< T > | serializer, | ||
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
T | The type of the result expected from the query, corresponding to the structure of the FQL query's expected response. |
query | The FQL query object representing the query to be executed against the Fauna database. |
serializer | A serializer for the success data type. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use. |
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
Task< QuerySuccess< T > > Fauna.IClient.QueryAsync< T > | ( | Query | query, |
QueryOptions? | queryOptions = null , |
||
CancellationToken | cancel = default |
||
) |
Asynchronously executes a specified FQL query against the Fauna database and returns the typed result.
T | The type of the result expected from the query, corresponding to the structure of the FQL query's expected response. |
query | The FQL query object representing the query to be executed against the Fauna database. |
queryOptions | Optional parameters to customize the query execution, such as timeout settings and custom headers. |
cancel | A cancellation token to use |
AuthenticationException | Thrown when authentication fails due to invalid credentials or other authentication issues. |
AuthorizationException | Thrown when the client lacks sufficient permissions to execute the query. |
QueryCheckException | Thrown when the query has syntax errors or is otherwise malformed. |
QueryRuntimeException | Thrown when runtime errors occur during query execution, such as invalid arguments or operational failures. |
AbortException | Thrown when the FQL abort function is called within the query, containing the data provided during the abort operation. |
InvalidRequestException | Thrown for improperly formatted requests or requests that Fauna cannot process. |
ContendedTransactionException | Thrown when a transaction is aborted due to concurrent modification or contention issues. |
ThrottlingException | Thrown when the query exceeds established rate limits for the Fauna service. |
QueryTimeoutException | Thrown when the query execution time exceeds the specified or default timeout period. |
ServiceException | Thrown in response to internal Fauna service errors, indicating issues on the server side. |
FaunaException | Thrown for unexpected or miscellaneous errors not covered by the other specific exception types. |
Implemented in Fauna.BaseClient.
T | : | notnull |