update method

Future<int> update(
  1. Session session,
  2. Object key,
  3. List<Expr<void>> set(
    1. C columns
    )
)

Implementation

Future<int> update(
  Session session,
  /* K | List  */ Object key,
  List<Expr<void>> Function(C columns) set,
) async {
  return await updateAll(
    session,
    set: set,
    where: (c) => _whereFromKey(c, key),
    // limit: 1, - postgresql does not recognize limit
  );
}