@oldendev/plugins
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

CRUD plugin for Metarhia impress, metasql

Description

This plugin contains features such as caching and hooks for CRUDs It generates espoints for Metarhia impress application server with predifined configuration such as metasql/crud but rich featured

Usage

Create file in impress application folder. <yourFileName>.<version>.js

File example.1.js:

({
  plugin: 'oldendev/crud',
  database: db.pg,
  entities: {
    Doctor: ['get', 'select'],
    Patient: ['get', 'select'],
    Reason: ['get', 'select'],
  },
});

Readme

Keywords

none

Package Sidebar

Install

npm i @oldendev/plugins

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

9.99 kB

Total Files

14

Last publish

Collaborators

  • georgoldenb