$$NotificationMessageTableTableManager constructor

$$NotificationMessageTableTableManager(
  1. _$SharedDatabase db,
  2. $NotificationMessageTable table
)

Implementation

$$NotificationMessageTableTableManager(
  _$SharedDatabase db,
  $NotificationMessageTable table,
) : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$NotificationMessageTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$NotificationMessageTableOrderingComposer(
              $db: db,
              $table: table,
            ),
        createComputedFieldComposer: () =>
            $$NotificationMessageTableAnnotationComposer(
              $db: db,
              $table: table,
            ),
        updateCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              Value<String> title = const Value.absent(),
              Value<String> message = const Value.absent(),
              Value<DateTime> createDateTime = const Value.absent(),
              Value<bool> read = const Value.absent(),
              Value<String> type = const Value.absent(),
            }) => NotificationMessageCompanion(
              id: id,
              title: title,
              message: message,
              createDateTime: createDateTime,
              read: read,
              type: type,
            ),
        createCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              required String title,
              required String message,
              required DateTime createDateTime,
              required bool read,
              required String type,
            }) => NotificationMessageCompanion.insert(
              id: id,
              title: title,
              message: message,
              createDateTime: createDateTime,
              read: read,
              type: type,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );