第二步使用提供应用程序名称的一个键值对更新第一步中创建的属性文件。
The second step updates the properties file created in the first step with a key-value pair that provides the application name.
如果哈希表中没有与键值对应的名称,将返回null。
If name does not correspond to a key in the hashtable, then null will simply be returned.
结果是一个数组,其中第一个键值是主规则的名称,第二个键值是位置—0(主要部分)或1(次要部分)。
The result is an array where the first key is the name of the master rule and the second key is the position-0 (major) or 1 (minor).
添加服务器名称、数据库名称、用户ID和键值。
使用一个提供应用程序名称的键值对更新属性文件。
Update the properties file with an application name key-value pair.
简单地运行两次会产生错误,因为相同的星星名称(作为表的主键)使用了两次,则会由于重复的主键值导致错误。
Simply running it twice will produce an error, because the same star names (which are the primary key for the table) are used again, causing an error with duplicate primary key values.
注意,按键值相关的表可以嵌套,如清单5中所示,或者由嵌入在文档中的链接引用为相关表名称上的属性。
Note that tables related by key can be nested, as in Listing 5, or referenced by a link embedded within the document as attributes on the related table name.
每个元素对象拥有一个属性对象,该属性对象是元素属性的hash表,其中属性名称作为键名,属性值作为键值。
Each element object has an attributes object which is a hash of the element attribute names as keys and their values as values.
每个元素对象拥有一个属性对象,该属性对象是元素属性的hash表,其中属性名称作为键名,属性值作为键值。
Each element object has an attributes object which is a hash of the element attribute names as keys and their values as values.
应用推荐