custom static method

Insertable<MapSyncRecord> custom({
  1. Expression<String>? namespace,
  2. Expression<DateTime>? catalogFetchedAt,
  3. Expression<DateTime>? indexFetchedAt,
  4. Expression<int>? rowid,
})

Implementation

static Insertable<MapSyncRecord> custom({
  Expression<String>? namespace,
  Expression<DateTime>? catalogFetchedAt,
  Expression<DateTime>? indexFetchedAt,
  Expression<int>? rowid,
}) {
  return RawValuesInsertable({
    if (namespace != null) 'namespace': namespace,
    if (catalogFetchedAt != null) 'catalog_fetched_at': catalogFetchedAt,
    if (indexFetchedAt != null) 'index_fetched_at': indexFetchedAt,
    if (rowid != null) 'rowid': rowid,
  });
}