FredericHeem/pg-live-table

View on GitHub
src/TriggerTpl.js

Summary

Maintainability
A
1 hr
Test Coverage

Function default has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function(triggerName, channel){
  /*
  let triggerTemplate = `
  CREATE OR REPLACE FUNCTION public.${triggerName}()
   RETURNS trigger
Severity: Minor
Found in src/TriggerTpl.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status