RunicQueryRows record

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed record RunicQueryRows : IEquatable<RunicQueryRows>

Inherits or implements IEquatable.

The rows of a query-rows reply, as a page receives them.

Parameters

Version

The collection's version the rows were loaded at.

Total

The rows that match the query, or null when it is not known.

Start

The position of the first row.

Keys

The rows' wire keys.

Rows

The rows' wire JSON.

Constructors

RunicQueryRows

public RunicQueryRows(long Version, int? Total, int Start, IReadOnlyList<string> Keys, IReadOnlyList<JsonElement> Rows)

The rows of a query-rows reply, as a page receives them.

Parameters

Version

The collection's version the rows were loaded at.

Total

The rows that match the query, or null when it is not known.

Start

The position of the first row.

Keys

The rows' wire keys.

Rows

The rows' wire JSON.

Properties

Keys

public IReadOnlyList<string> Keys { get; init; }

The rows' wire keys.

Rows

public IReadOnlyList<JsonElement> Rows { get; init; }

The rows' wire JSON.

Start

public int Start { get; init; }

The position of the first row.

Total

public int? Total { get; init; }

The rows that match the query, or null when it is not known.

Version

public long Version { get; init; }

The collection's version the rows were loaded at.