这种变体还指定了数组和表等标准结构以改进复合对象的管理。
This variant also specifies standard structures such as arrays and tables for improved compound object management.
这个示例将在不同表中存储布尔值、标量、数组和散列。
This example will store booleans, scalars, arrays, and hashes in separate tables.
它们还有一些内嵌的数据结构,像数组、哈希表和对像记录一样的结构的某种支持。
They also have some built-in data structures like arrays, hashes, and some sort of support for record-like structures.
一个参数是描述数据库的关联数组集合:表名、列名、主键和外键。
One parameter is a collection of associative arrays that describe the database: table names, column names, primary keys, and foreign keys.
这个方法使用当前状态和事件类型作为关联数组的索引,从actionTransitionFunctions表中选择要调用的函数。
The method does select a function to call from the actionTransitionFunctions table using the current state and event type as associative array indexes.
清单5设置了目标电子表格和工作表,然后创建了一个行数据数组,包含列-值映射。
Listing 5 sets the target spreadsheet and worksheet and then creates an array of row data containing column-value mappings.
此函数接受两个参数:表的名称以及字段名和值的关联数组。
The function takes two arguments: the name of the table and an associative array of field names and values.
要为哈希表、数组和标量都提供视图多好呀,为什么不呢?
If different views can be provided for hashes, arrays, and scalars, why stop there?
这个数组包含ID(词汇或词汇表id)、名称、描述和权值。
The array includes an ID (term or vocabulary ID), a name, description, and weight.
循环遍历数组中的数据记录并根据需要修改,然后把数据写回原来的数据库和表中。
Loop through the data records in the arrays, and change the values as needed, then write the data back to the original database and table.
这个函数接收两个输入参数 —产品ID和一个包含修改记录的数组 —并使用 Zend_Db的update() 函数对数据库表执行一个 UPDATE查询。
This method accepts two input arguments—the product ID and an array containing the revised record—and uses Zend_Db's update() method to execute an UPDATE query on the database table.
联合数组在其他语言中有时称为词典(dictionary)或hash表,它是一系列关键字-值对,关键字和值使用冒号(:)分隔开。
An associative array, sometimes referred to in other languages as a dictionary or a hash, is a list of key-value pairs, with the key and value being separated by a colon (:).
Vimscript中的字典在本质上和AWK关联数组、perl哈希表,或者Python字典都是一样。
A dictionary in Vimscript is essentially the same as an AWK associative array, a Perl hash, or a Python dictionary.
目前我们讨论的Vimscript基本特性(语句和函数,数组和哈希表)已经足够为Vim的核心特性集创建几乎任何类型的添加项。
The basic features of Vimscript covered so far (statements and functions, arrays, and hashes) are sufficient to create almost any kind of addition to Vim's core feature set.
在Lua中每个表有两部分:数组部分和散列部分。
Every table in Lua has two parts: the array part and the hash part.
内容包括:数组、链接表、栈和队列、递归、树与森林、图、排序、检索和散列结构等。
The contents are included as follows: Array, Linked List, Stack and Queue, Recursion, Tree and Forest, Graph, Sorting, Indexing and Hashing Structure, etc.
内容包括:数组、链接表、栈和队列、递归、树与森林、图、排序、检索和散列结构等。
The contents are included as follows: Array, Linked List, Stack and Queue, Recursion, Tree and Forest, Graph, Sorting, Indexing and Hashing Structure, etc.
应用推荐