toString method

String toString ()
inherited

Print a query to the console.

Implementation

String toString() {
  if (_substitutionValues.isEmpty) {
    return 'Type: ${this.runtimeType}\n${statement(pretty: true)}';
  }
  return 'Type: ${this.runtimeType}\n${this.runtimeType}\n${statement(pretty: true)}\nsubstitutionValues: ${_substitutionValues.toString()}';
}