PostgresqlRevisableRepositoryService<TData extends DataObject<TData>> class

Standalone RevisableDataRepository providing direct access to the postgres data.

When access control or different behavior is required, use PostgresqlRevisableRepository as mixin for a ServiceInstance to override methods.

Constructors

PostgresqlRevisableRepositoryService({required DataBean<TData> bean, Find<Postgresql> postgresql = const Find(), Config<String> schemaName = const Config('schemaName', defaultValue: 'public'), Config<String?> relationName = const Config('relationName'), Config<Duration> schedulePollInterval = const Config('schedulePollInterval', defaultValue: Duration(seconds: 30)), Config<int> promotionBatchSize = const Config('promotionBatchSize', defaultValue: 500)})
const

Properties

bean → DataBean<TData>
final
hashCode → int
The hash code for this object.
no setterinherited
postgresql → Find<Postgresql>
final
promotionBatchSize → Config<int>
final
relationName → Config<String?>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedulePollInterval → Config<Duration>
final
schemaName → Config<String>
final

Methods

createInstance() → ServiceInstance<PostgresqlRevisableRepositoryService<DataObject>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited