4.6.201910111019 • Published 5 years ago

@dfeidao/fd-an000050 v4.6.201910111019

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

数据保存

Installation

yarn add --dev @dfeidao/fd-an000050

Example

import an50 from '@dfeidao/fd-an000050';

const ran50 = an50(headers, '6611');
// 插入数据
ran50.insert('fd_staff', { staff_no: '111111', staff_name: '张三', productid: 'by_jxc' });
// 修改数据
ran50.update('fd_staff', { productid: 'by_jxc',staff_no: '111111' }, { staff_name: '李四' });
// 删除数据
ran50.del('fd_staff', { productid: 'by_jxc',staff_name: '李四' });
await ran50.exec();