首页>
外国专利>
PARAMETER INSERTION METHOD AND APPARATUS FOR DATABASE TABLE, TERMINAL DEVICE, AND STORAGE MEDIUM
PARAMETER INSERTION METHOD AND APPARATUS FOR DATABASE TABLE, TERMINAL DEVICE, AND STORAGE MEDIUM
展开▼
机译:数据库表,终端设备和存储介质的参数插入方法和装置
展开▼
页面导航
摘要
著录项
相似文献
摘要
A parameter insertion method and apparatus for a database table, a terminal device, and a storage medium. The method comprises: receiving an insertion instruction, and encapsulating a parameter to be inserted into a user-defined object (S10); receiving a universal Package call instruction, and calling an insertion method in the universal Package to transmit the user-defined object into the insertion method (S20); and based on the insertion method, storing the parameter to be inserted that is encapsulated in the user-defined object to a corresponding insertion position of a database table (S30). By means of the method, a Package is used as the universal Package, the insertion method is pre-written into the universal Package, and when data needs to be stored into the database table, it is only needed to call the pre-written insertion method in the universal Package, and the parameter to inserted that is encapsulated in the user-defined object can be stored into the database table. By means of the method, the present invention achieves the design principle of high cohesion and low coupling in software design, and enables the codes to be concise and readable in the process of storage, improves development efficiency, and reduces the maintenance costs.
展开▼