Package Exports
- fluent-pg
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fluent-pg) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mysql driver for FLUENT-ORM
This package contain the driver to be used on fluent-orm package.
Usage
on the root project
npm install fluent-mysql-driveron the fluent configuration file
const { configurator } = require("fluent-orm");
const pg_driver = require("fluent-pg");
// Register Driver
configurator.use(pg_driver.configure);
// Configure driver connection
configurator.configure({
'default': 'pgsql',
'connections': {
'pgsql': {
'driver': 'pgsql',
'host': '127.0.0.1',
'port': '5432',
'database': 'postgres',
'user': 'postgres',
'password': '1234'
}
}
});