Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
Fauna.Types Namespace Reference

Classes

class  BaseRef
 An abstract class representing a reference that can wrap an instance of the referenced document. More...
 
class  BaseRefBuilder
 
class  Event
 A class representing an event from an Event Feed or Event Stream. More...
 
class  EventOptions
 Represents the options for a Fauna EventSource. More...
 
class  EventSource
 Represents a Fauna EventSource for initializing Streams and Feeds. More...
 
class  Module
 Represents a module, a singleton object grouping related functionalities. Modules are serialized as @mod values in tagged formats, organizing and encapsulating specific functionalities. More...
 
class  NamedRef
 Represents a document ref that has a "name" instead of an "id". For example, a Role document reference is represented as a NamedRef. More...
 
class  Ref
 Represents a document ref. More...
 
class  UnloadedRefException
 

Enumerations

enum  EventType { Add , Update , Remove , Status }
 An enum representing Fauna event types. More...
 

Functions

record Page< T > (IReadOnlyList< T > Data, string? After)
 Represents a page in a dataset for pagination.
 

Enumeration Type Documentation

◆ EventType

An enum representing Fauna event types.

Enumerator
Add 

An add event. Emitted when a document is added to the tracked Set.

Update 

An update event. Emitted when a document is updated in the tracked Set.

Remove 

A remove event. Emitted when a document is removed from the tracked Set.

Status 

A status event. Typically used as an implementation detail for a driver. Indicates a status change on the stream. Not emitted for Event Feeds.

Definition at line 14 of file Event.cs.

Function Documentation

◆ Page< T >()

record Fauna.Types.Page< T > ( IReadOnlyList< T >  Data,
string?  After 
)

Represents a page in a dataset for pagination.

Template Parameters
TThe type of data contained in the page.
Parameters
DataThe IReadOnlyList<T> of data items on the page.
AfterThe cursor for the next page, if available.

Used for segmenting large datasets into pages with cursors to navigate between them.