custom static method

Insertable<StoredCachedRow> custom({
  1. Expression<String>? accountKey,
  2. Expression<String>? tableId,
  3. Expression<String>? rowKey,
  4. Expression<String>? valuesJson,
  5. Expression<DateTime>? updatedAt,
  6. Expression<int>? rowid,
})

Implementation

static Insertable<StoredCachedRow> custom({
  Expression<String>? accountKey,
  Expression<String>? tableId,
  Expression<String>? rowKey,
  Expression<String>? valuesJson,
  Expression<DateTime>? updatedAt,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (accountKey != null) 'account_key': accountKey,
    if (tableId != null) 'table_id': tableId,
    if (rowKey != null) 'row_key': rowKey,
    if (valuesJson != null) 'values_json': valuesJson,
    if (updatedAt != null) 'updated_at': updatedAt,
    if (rowid != null) 'rowid': rowid,
  });
}