$$CalendarEventsTableTableManager constructor

$$CalendarEventsTableTableManager(
  1. _$AppDatabase db,
  2. $CalendarEventsTable table
)

Implementation

$$CalendarEventsTableTableManager(
  _$AppDatabase db,
  $CalendarEventsTable table,
) : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$CalendarEventsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$CalendarEventsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$CalendarEventsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              Value<int> portalId = const Value.absent(),
              Value<DateTime?> start = const Value.absent(),
              Value<DateTime?> end = const Value.absent(),
              Value<bool> allDay = const Value.absent(),
              Value<String?> title = const Value.absent(),
              Value<String?> place = const Value.absent(),
              Value<String?> content = const Value.absent(),
              Value<String?> ownerName = const Value.absent(),
              Value<String?> creatorName = const Value.absent(),
            }) => CalendarEventsCompanion(
              id: id,
              portalId: portalId,
              start: start,
              end: end,
              allDay: allDay,
              title: title,
              place: place,
              content: content,
              ownerName: ownerName,
              creatorName: creatorName,
            ),
        createCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              required int portalId,
              Value<DateTime?> start = const Value.absent(),
              Value<DateTime?> end = const Value.absent(),
              Value<bool> allDay = const Value.absent(),
              Value<String?> title = const Value.absent(),
              Value<String?> place = const Value.absent(),
              Value<String?> content = const Value.absent(),
              Value<String?> ownerName = const Value.absent(),
              Value<String?> creatorName = const Value.absent(),
            }) => CalendarEventsCompanion.insert(
              id: id,
              portalId: portalId,
              start: start,
              end: end,
              allDay: allDay,
              title: title,
              place: place,
              content: content,
              ownerName: ownerName,
              creatorName: creatorName,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );