C#: Update data

Performs an UPDATE on the table.

Examples

Update your data using Filter

var update = await supabase
  .From<City>()
  .Where(x => x.Name == "Auckland")
  .Set(x => x.Name, "Middle Earth")
  .Update();

Update your data

var model = await supabase
  .From<City>()
  .Where(x => x.Name == "Auckland")
  .Single();

model.Name = "Middle Earth";

await model.Update<City>();