Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alipay/faas-server-sdk

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alipay/faas-server-sdk

云函数服务 SDK

  • 1.0.3
  • npm
  • Socket score

Version published
Weekly downloads
202
increased by225.81%
Maintainers
2
Weekly downloads
 
Created
Source

@alipay/faas-server-sdk

MySQL 使用说明

import cloud from '@alipay/faas-server-sdk';

const db = cloud.mysql();

export async function main(event, context) {
  const userId = cloud.getAlipayContext().OPENID;
  const rows = await db.query('SELECT * FROM todos where uid = ?', [ userId ]);
  return { rows };
}

发布

代码合入 master 后,到 antcode 中新建 tag,此时触发的 aci 流水线将会执行 npm 包发布任务。

FAQs

Package last updated on 30 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc