dataplug-io/dataplug-sql

View on GitHub
lib/sqlStreamWriter.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _doWrite has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  _doWrite (queries, callback) {
    if (this._singleTransaction && !this._singleTransactionOpened) {
      this._dbClient
        .query('BEGIN')
        .then(() => {
Severity: Minor
Found in lib/sqlStreamWriter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status