How to use pure-orm - 4 common examples

To help you get started, we’ve selected a few pure-orm examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github craigmichaelmartin / pure-orm / examples / basic / dao / base.js View on Github external
const { createBaseDAO } = require('pure-orm');
const getTableData = require('../table-data');
const db = require('../db');

const logError = console.log.bind(console);

const constructor = createBaseDAO({ getTableData, db, logError });

module.exports = constructor;
github craigmichaelmartin / pure-orm / examples / blog / bo / base.js View on Github external
const { createBaseBO } = require('pure-orm');
const getBusinessObjects = require('../business-objects');

const constructor = createBaseBO({ getBusinessObjects });
module.exports = constructor;
github craigmichaelmartin / pure-orm / examples / basic / bo / base.js View on Github external
const { createBaseBO } = require('pure-orm');
const getBusinessObjects = require('../business-objects');

const constructor = createBaseBO({ getBusinessObjects });
module.exports = constructor;
github craigmichaelmartin / pure-orm / examples / order / bo / base.js View on Github external
const { createBaseBO } = require('pure-orm');
const getBusinessObjects = require('../business-objects');

const constructor = createBaseBO({ getBusinessObjects });
module.exports = constructor;

pure-orm

A SQL Toolkit based on pure business objects passed to and from stateful data access objects

MIT
Latest version published 1 year ago

Package Health Score

43 / 100
Full package analysis