| layout | api-command | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| language | Python | ||||||||||
| permalink | api/python/append/ | ||||||||||
| command | append | ||||||||||
| related_commands |
|
{% apibody %} array.append(value) → array {% endapibody %}
Append a value to an array.
Example: Retrieve Iron Man's equipment list with the addition of some new boots.
r.table('marvel').get('IronMan')['equipment'].append('newBoots').run(conn)