elder-orm/core

View on GitHub
src/adapters/postgres.ts

Summary

Maintainability
B
6 hrs
Test Coverage

PostgresAdapter has 30 functions (exceeds 20 allowed). Consider refactoring.
Open

export default class PostgresAdapter extends Adapter {
  knex: Knex

  constructor(config: databaseConfig) {
    super(config)
Severity: Minor
Found in src/adapters/postgres.ts - About 3 hrs to fix

    File postgres.ts has 269 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import Adapter, {
      DatabaseConnectionError,
      databaseConfig,
      optsMultiple,
      optsSingle,
    Severity: Minor
    Found in src/adapters/postgres.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status