sqlTemplateCount property

int get sqlTemplateCount

Statement templates in this tree, not the number of executed statements.

Implementation

int get sqlTemplateCount =>
    1 +
    loads.fold(
      0,
      (count, load) => count + (load.query?.sqlTemplateCount ?? 0),
    );