Fauna .NET Driver 0.1.0-beta
 
Loading...
Searching...
No Matches
Classes | Functions
Fauna.Types Namespace Reference

Classes

class  BaseDocument
 Represents the base structure of a document. More...
 
class  Document
 Represents a document. More...
 
class  DocumentRef
 Represents a document ref. 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  NamedDocumentRef
 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  NullDocumentRef
 Represents a null reference to a document, including a reason for its null state. More...
 
class  NullNamedDocumentRef
 Represents a reference to a named document that is null, including a reason for its null state. This class extends NamedDocumentRef to provide additional context for null references in the database. 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.