Database data editing method and apparatus
The invention provides a database data editing method and apparatus. The method comprises the following steps: for specific tables in a database, predefining a plurality of form interfaces with different data operation types, wherein interface names of the form interfaces are table names of the spec...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a database data editing method and apparatus. The method comprises the following steps: for specific tables in a database, predefining a plurality of form interfaces with different data operation types, wherein interface names of the form interfaces are table names of the specific tables; receiving and analyzing data submitted by a user through the form interfaces, and obtaining data operation information of the user for the specific tables, wherein the data operation information at least comprises the interface names and the data operation types of the form interfaces; according to the data operation types in the data operation information, determining statement templates corresponding to the data operation types, wherein the statement templates at least comprise table names of to-be-operated tables; according to the interface names in the data operation information, obtaining predefined information of the specific tables with the corresponding table names from the database, and correspondingly filling the statement templates with the content of the data operation information according to the requirements of the predefined information to generate statements; and executing the statements and performing a data editing operation on the corresponding tables in the database. |
---|