WhereBody constructor

WhereBody(
  1. List<SQL> conditions, {
  2. WhereType type = WhereType.AND,
})

Creates a WHERE body with the specified conditions and combination type.

conditions The list of SQL conditions. type The combination logic (default: AND).

Implementation

WhereBody(this.conditions, {this.type = WhereType.AND});