云原生API网关支持REST、HTTP和 WebSocket 三种 API 设计、开发、测试、发布、下线等生命周期管理。 REST API 云原生 API 网关提供的 REST API 支持 API 设计、开发、测试、发布、下线的全生命周期管理,通过标准的 HTTP 方法对资源进行操作,适用于 API First、API 精细化管控等场景。 HTTP API 云原生API网关支持创建HTTP API。HTTP API是基于HTTP协议的接口,以路由为中心。适用于K8s Ingress、微服务架构等场景,实现服务的对外快速暴露。 WebSocket API 云原生API网关支持创建WebSocket API。WebSocket API主要适用于即时交互的业务场景。
本页介绍天翼云TeleDB数据库存储过程开发的GOTO语句。 plaintext teledb create or replace procedure pgoto(vmaxnum integer) as $$ declare maxnum integer; begin maxnum : vmaxnum; for i in 1..maxnum loop if i3 then goto label; end if; raise notice 'i%',i; end loop; > raise notice 'goto end'; end; $$ language plpgsql; CREATE PROCEDURE teledb call pgoto(5); NOTICE: i1 NOTICE: i2 NOTICE: goto end CALL teledb go 用于跳转到某个标签下。
本页介绍天翼云TeleDB数据库存储过程开发的GOTO语句。 plaintext teledb create or replace procedure pgoto(vmaxnum integer) as $$ declare maxnum integer; begin maxnum : vmaxnum; for i in 1..maxnum loop if i3 then goto label; end if; raise notice 'i%',i; end loop; > raise notice 'goto end'; end; $$ language plpgsql; CREATE PROCEDURE teledb call pgoto(5); NOTICE: i1 NOTICE: i2 NOTICE: goto end CALL teledb go 用于跳转到某个标签下。
本页介绍天翼云TeleDB数据库存储过程开发的GOTO语句。 plaintext teledb create or replace procedure pgoto(vmaxnum integer) as $$ declare maxnum integer; begin maxnum : vmaxnum; for i in 1..maxnum loop if i3 then goto label; end if; raise notice 'i%',i; end loop; > raise notice 'goto end'; end; $$ language plpgsql; CREATE PROCEDURE teledb call pgoto(5); NOTICE: i1 NOTICE: i2 NOTICE: goto end CALL teledb go 用于跳转到某个标签下。