
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
light-api-mysql
Advanced tools
1.解决分页查询,查询参数数组传入失效的问题。
rdb.query(`SELECT * FROM book WHERE show_name like ? and app_describe like ? `,'%d%','%4%')
.then(function(result){
return reply.data(result);
});
也可写成下面的数组参数形式:
rdb.query(`SELECT * FROM book WHERE show_name like ? and app_describe like ? `,['%d%','%4%'])
.then(function(result){
return reply.data(result);
});
1.修复mysql链接池不能回收连接的问题
FAQs
the plgin of the light-api server for mysql service
The npm package light-api-mysql receives a total of 42 weekly downloads. As such, light-api-mysql popularity was classified as not popular.
We found that light-api-mysql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.