Sql.parts constructor

Sql.parts(
  1. Iterable<Object> parts
)

Joins trusted text and Sql fragments at complete lexical boundaries. A newline separates parts so comments and tokens cannot span boundaries. Each nested fragment owns its parameter names; matching names never collide.

Implementation

factory Sql.parts(Iterable<Object> parts) => _PartsSql(parts);