public void AppendScalarValue() { connection.Run(testTable.Update(o => new TestObject() { Tags = o.Tags.Append("mango") })); }
private async Task DoSimpleUpdate() { var resp = await connection.RunAsync(testTable.Update(o => new TestObject() { Name = "Hello!" })); Assert.That(resp, Is.Not.Null); Assert.That(resp.FirstError, Is.Null); // "Replaced" seems weird here, rather than Updated, but that's what RethinkDB returns in the Data Explorer too... Assert.That(resp.Replaced, Is.EqualTo(7)); }