Class CompiledQuery

Assembly: redb.Core.dll

Compiled SQL query with template and metadata.
Used for caching and debugging.

public record CompiledQuery : IEquatable<CompiledQuery>

Inheritance

ObjectCompiledQuery

Implements

Properties

DebugComment

Debug comment with parameter values (EF Core style)

public string DebugComment { get; init; }

Fields

Information about fields included in the query

public IReadOnlyList<FieldInfo> Fields { get; init; }

SqlTemplate

SQL template with parameter placeholders ($1, , etc.)

public string SqlTemplate { get; init; }

Constructors

CompiledQuery(string, IReadOnlyList<FieldInfo>, string)

Compiled SQL query with template and metadata.