Table of Contents

Interface IMultiIfRenderer

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A dialect's renderer for the ClickHouse multi-branch conditional multiIf(cond1, then1, ..., else). The object's presence is the capability.

public interface IMultiIfRenderer
Extension Methods

Methods

Render(IReadOnlyList<string>, Type)

Renders multiIf(...) over the already-rendered arguments (condition/value pairs followed by the else value), casting to the CLR resultType the row reader must materialise when the common supertype would otherwise differ.

string Render(IReadOnlyList<string> arguments, Type resultType)

Parameters

arguments IReadOnlyList<string>
resultType Type

Returns

string