$$ScreenshotImagesTableTableManager constructor

$$ScreenshotImagesTableTableManager(
  1. _$CatalogDatabase db,
  2. $ScreenshotImagesTable table
)

Implementation

$$ScreenshotImagesTableTableManager(
  _$CatalogDatabase db,
  $ScreenshotImagesTable table,
) : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$ScreenshotImagesTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$ScreenshotImagesTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$ScreenshotImagesTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              Value<int> screenshotId = const Value.absent(),
              Value<String> url = const Value.absent(),
              Value<String?> type = const Value.absent(),
              Value<int?> width = const Value.absent(),
              Value<int?> height = const Value.absent(),
            }) => ScreenshotImagesCompanion(
              id: id,
              screenshotId: screenshotId,
              url: url,
              type: type,
              width: width,
              height: height,
            ),
        createCompanionCallback:
            ({
              Value<int> id = const Value.absent(),
              required int screenshotId,
              required String url,
              Value<String?> type = const Value.absent(),
              Value<int?> width = const Value.absent(),
              Value<int?> height = const Value.absent(),
            }) => ScreenshotImagesCompanion.insert(
              id: id,
              screenshotId: screenshotId,
              url: url,
              type: type,
              width: width,
              height: height,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );