Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
/ aul-knex Public archive

๐Ÿš€ Adapter to be used with aul executor

License

Notifications You must be signed in to change notification settings

zemd/aul-knex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

aul-knex adapter to leverage knex query builder with aul

Adapter to be used with aul executor

npm version Code Climate dependencies:? devDependencies:?

Installation

npm install aul-knex --save

or

yarn add aul-knex

Usage

const {Criteria, Executor} = require("aul");
const KnexAdapter = require("aul-knex");

const executor = new Executor({
  path: [path.join(__dirname, "./node_modules/aul-knex/filters")]
});

executor.setAdapter(new KnexAdapter({
  client: "pg",
  connection: "postgres://user:password@localhost:5432/database_name",
  searchPath: "public"
}));

License

aul-knex is released under the MIT license.

Donate

About

๐Ÿš€ Adapter to be used with aul executor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published