Skip to content

Proposal: r.add_fields #1856

Closed
Closed

Description

@coffeemug

This is in response to #272.

r.expr({a: 1}).addFields('a', 2, 'b', 3)
{a: 2, b: 3}

r.expr({a: 1}).addFields()
{a: 1}

The command addFields takes an even number of elements (each pair representing a key and a value), and adds them to an object.

Activity

  1. ghost assigned on Jan 14, 2014
  2. coffeemug commented on Jan 14, 2014

    @coffeemug
    ContributorAuthor

    Dropping in favor of #1857.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions