$$SessionsTableTableManager constructor
$$SessionsTableTableManager( - _$ScopedDatabase db,
- $SessionsTable table
)
Implementation
$$SessionsTableTableManager(_$ScopedDatabase db, $SessionsTable table)
: super(TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$SessionsTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$SessionsTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$SessionsTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback: ({
Value<String> id = const Value.absent(),
Value<String> ip = const Value.absent(),
Value<String> userAgent = const Value.absent(),
Value<PreciseDateTime> lastActivatedAt = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) =>
SessionsCompanion(
id: id,
ip: ip,
userAgent: userAgent,
lastActivatedAt: lastActivatedAt,
rowid: rowid,
),
createCompanionCallback: ({
required String id,
required String ip,
required String userAgent,
required PreciseDateTime lastActivatedAt,
Value<int> rowid = const Value.absent(),
}) =>
SessionsCompanion.insert(
id: id,
ip: ip,
userAgent: userAgent,
lastActivatedAt: lastActivatedAt,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
));