updateWhere = async (tbl, obj, whereObj, opts = Object.create(null)) => {
  const kvs = Object.entries(obj);
  if (kvs.length === 0) return;
  const { where, values } = mkWhere(whereObj, false, kvs.length);
  const assigns = kvs
    .map(([k, v], ix) => `"${sqlsanitize(k)}"=$${ix + 1}`)
    .join();
  let valList = [...kvs.map(([k, v]) => v), ...values];

  const q = `update "${getTenantSchema()}"."${sqlsanitize(
    tbl
  )}" set ${assigns} ${where}`;
  sql_log(q, valList);
  await getMyClient().query(q, valList);
}
Update table records
@param {string} tbl - table name
@param {object} obj - columns names and data
@param {object} whereObj - where object
@param {object} opts - can contain a db client for transactions
@returns {Promise<void>} no result