update

Creates an abstracted UPDATE query for updating the specified columns

Update updateMountainNo90 = table("mountain").qb
    .where("id", '=', 90)
    .update("height")
;

Update updateStats = table("mountain").qb.update(
    "visitors",
    "times_summit_reached",
    "updated_at"
);
  1. Update update(Query query, const(string)[] columns)
  2. Update update(Query query, Columns columns)
    @safe pure
    update
    (
    Columns...
    )
    (,
    Columns columns
    )

Meta