1.2.1 • Published 5 years ago
@sherbst/educr8-schemas v1.2.1
educr8 Schemas
Mongoose schemas/models for Kit
and StockItem
.
import { StockItem } from '@sherbst/educr8-schemas';
// Find all stockItems
StockItem.find({}, (err, stockItems) => {
stockItems.forEach(item => {
console.log(item);
})
})