Home Reference Source Repository
import PostgresqlAdapter from 'schema-mapper-driver-postgresql/lib/adapter.js'
public class | source

PostgresqlAdapter

You can directly use instance of this class. postgresqlAdapter

PostgresqlAdapter

Constructor Summary

Public Constructor
public

constructor(config: *)

Member Summary

Public Members
public

config: *

public

Method Summary

Public Methods
public

getConnection(projectName: String, projectVersion: Number): Object

Get a postgresql connection.

Public Constructors

public constructor(config: *) source

Params:

NameTypeAttributeDescription
config *

Public Members

public config: * source

public connections: * source

Public Methods

public getConnection(projectName: String, projectVersion: Number): Object source

Get a postgresql connection.

Params:

NameTypeAttributeDescription
projectName String
projectVersion Number

Return:

Object

The knex.js connection