Database operation method and device and storage medium

The invention relates to a database operation method and device and a storage medium, and relates to the field of database technology.The method comprises the steps that if a script obtaining instruction triggered by a developer is detected, a script file needing to be executed is obtained, and the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: HUANG QIXIONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to a database operation method and device and a storage medium, and relates to the field of database technology.The method comprises the steps that if a script obtaining instruction triggered by a developer is detected, a script file needing to be executed is obtained, and the script file is analyzed to obtain a script file; the method comprises the steps of obtaining a to-be-operated data table in a to-be-operated database and an operation type corresponding to the to-be-operated data table, generating a target statement capable of being recognized by the database based on the operation type, and operating the to-be-operated data table according to the target statement. The method and the device have the effect of improving the database operation development efficiency of developers. 本申请涉及一种数据库操作的方法、装置及存储介质,涉及数据库技术的领域,该方法包括若检测到开发人员触发的脚本获取指令,则获取需执行的脚本文件,对脚本文件进行解析,得到待操作数据库中的待操作数据表以及待操作数据表对应的操作类型,基于操作类型,生成可供数据库识别的目标语句,按照目标语句对待操作数据表进行操作。本申请具有提高开发人员对数据库操作的开发效率的效果。