Class ExampleResult

Assembly: redb.Examples.dll

Result of running an example. Used for unified output.

public record ExampleResult : IEquatable<ExampleResult>

Inheritance

ObjectExampleResult

Implements

Properties

Count

Number of objects processed/found.

public int? Count { get; init; }

ElapsedMs

Execution time in milliseconds.

public required long ElapsedMs { get; init; }

Error

Error message if failed.

public string? Error { get; init; }

Id

Example ID (E001, E010).

public required string Id { get; init; }

Output

Short output lines (2-3 max).

public required string[] Output { get; init; }

Sql

Generated SQL (if ToSqlStringAsync was called).

public string? Sql { get; init; }

Success

Success flag.

public required bool Success { get; init; }

Tier

License tier.

public required ExampleTier Tier { get; init; }

Title

Example title.

public required string Title { get; init; }