manageproductwithimage

1.0.12 • Public • Published

Crud Product Javascript MySql

This package contains a crud of a Product entity with id (int) and image url (string) attributes

Usage

 const managep = require("manageproductwithimage/dproducto");
const Product = require("manageproductwithimage/dproducto").Producto;
var producto = new Product(11, "4565.jpg");

managep.getProductos().then(data => {
   console.log(data)
})

managep.insertProducto(producto).then(data => {
   console.log(data)
})
managep.deleteProducto(producto).then(data => {
   console.log(data)
})
managep.updateProducto(producto).then(data => {
   console.log(data)
})
 
managep.getProducto(3).then(data => {
   console.log(data)
})



Gmail

rwkamandriw@gmail.com

/manageproductwithimage/

    Package Sidebar

    Install

    npm i manageproductwithimage

    Weekly Downloads

    2

    Version

    1.0.12

    License

    none

    Unpacked Size

    5.65 kB

    Total Files

    4

    Last publish

    Collaborators

    • carlosrodriguezz