首页> 外国专利> Pre-generation of structured query language (SQL) from application programming interface (API) defined query systems

Pre-generation of structured query language (SQL) from application programming interface (API) defined query systems

机译:从应用程序编程接口(API)定义的查询系统预先生成结构化查询语言(SQL)

摘要

A method is provided for receiving source code that includes an application programming interface (API) defined query written to communicate with an API. The API is configured to provide access to an object relational model (ORM) for converting, during execution of the source code, the API defined query into a dynamic structured query language (SQL) query comprising SQL statements. The method also includes generating a static SQL query that includes SQL statements. The static SQL query is generated in response to the ORM and to the API, by a computer, prior to the source code being executed.
机译:提供了一种用于接收源代码的方法,该方法包括编写用于与API通信的应用程序编程接口(API)定义的查询。 API被配置为提供对对象关系模型(ORM)的访问,以在源代码执行期间将API定义的查询转换为包含SQL语句的动态结构化查询语言(SQL)查询。该方法还包括生成包括SQL语句的静态SQL查询。在执行源代码之前,计算机会响应于ORM和API生成静态SQL查询。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号