crudproductimagesqlserver
v1.0.4
Published
Crud Product image with MSSQL
Downloads
26
Maintainers
Readme
This package contains a crud of a Product entity with id (int) and image url (string) attributes
Usage
const managep = require('crudproductimagesqlserver/dproducto');
const Product = require('crudproductimagesqlserver/product').Producto;
var producto = new Product(1, '456.jpg')
managep.insertProduct(producto).then(data => {
console.log(data)
})
managep.updateProduct(producto).then(data => {
console.log(data)
})
managep.deleteProduct(producto).then(data => {
console.log(data)
})
managep.getProducts().then(data => {
console.log(data)
})
managep.getProductsExpression("d").then(data => {
console.log(data)
})
See this example
https://github.com/rwkama/electronproductimage that calls the rest api which in turn uses the npm crudproductimagesqlserver
Gmail
See
https://rwkama1.github.io/CVCarlosR/