mfenniak / rethinkdb-net

A C# / .NET client driver for RethinkDB.
Other
247 stars 37 forks source link

Allow to access existing arrays in Append expression #228

Closed nkreipke closed 9 years ago

nkreipke commented 9 years ago

Greetings once again!

This one deals with using the Append function with existing arrays:

int[] values = new[] { 1, 2, 3, 4 };

conn.Run(query.Update(t => t.SomeNumbers.Append(values)));

Before the change, the driver always expected a NewArrayInit expression inside of calls to Append.

Kind regards, Nico