$$UsersTableTableManager constructor

$$UsersTableTableManager(
  1. _$MyDatabase db,
  2. $UsersTable table
)

Implementation

$$UsersTableTableManager(_$MyDatabase db, $UsersTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        filteringComposer:
            $$UsersTableFilterComposer(ComposerState(db, table)),
        orderingComposer:
            $$UsersTableOrderingComposer(ComposerState(db, table)),
        updateCompanionCallback: ({
          Value<int> id = const Value.absent(),
          Value<String> name = const Value.absent(),
          Value<String> email = const Value.absent(),
          Value<String> password = const Value.absent(),
          Value<UserRole> role = const Value.absent(),
        }) =>
            UsersCompanion(
          id: id,
          name: name,
          email: email,
          password: password,
          role: role,
        ),
        createCompanionCallback: ({
          Value<int> id = const Value.absent(),
          required String name,
          required String email,
          required String password,
          required UserRole role,
        }) =>
            UsersCompanion.insert(
          id: id,
          name: name,
          email: email,
          password: password,
          role: role,
        ),
      ));