1.0.1 • Published 3 years ago

winext-repository v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Installation

Install the dependencies and devDependencies and start the server.

$ npm install winext-repository

How to use

const dataStore = require('winext-repository').dataStore;

// method can use
findOne({type, filter = {}, projection = {}, populates})
count({type, filter = {}})
create({type, data})
find({type, filter = {}, projection = {}, options = {}, populates})
get({type, id, projection= {}, populates})
update({type, id, data})
updateOne({type, id, data})
updateMany({type, filter = {}, data})
aggregate({type, pipeline})
deleted({type, id})
1.0.1

3 years ago

1.0.0

3 years ago