Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
Fauna.Types Namespace Reference

Classes

class  BaseDocument
 Represents the base structure of a document. More...
 
class  Document
 Represents a document. 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  NamedDocument
 Represents a document that has a "name" instead of an "id". For example, a Role document is represented as a NamedDocument. 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 NamedDocumentRef. More...
 
class  NonNullDocument
 A class wrapping a non-null document returned by Fauna. More...
 
class  NullableDocument
 A wrapper class that allows Document and user-defined classes to be null references. More...
 
class  NullDocument
 A class representing a null document returned by Fauna. More...
 
class  Ref
 Represents a document ref. More...
 
class  Stream
 Represents a Fauna stream token. More...
 

Functions

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

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.