WhereConditionSql
Renders a WHERE condition token sequence for every SQL dialect. Implements [DP-SQL-MODEL-DIALECTS].
public static class WhereConditionSql
Methods
Join(IReadOnlyList<WhereCondition>, Func<WhereCondition, string>)
public static string Join(IReadOnlyList<WhereCondition> conditions, Func<WhereCondition, string> format)
Joins formatted WHERE tokens with single spaces. Two adjacent predicates with no explicit logical operator between them are joined with AND.
Parameters:
| Name | Type | Description |
|---|---|---|
conditions |
WhereCondition> |
The WHERE condition tokens in order |
format |
String> |
Dialect-specific formatter for a single token |
Returns: String - The WHERE clause body without the WHERE keyword