AbstractAbstract ReadonlyentitiesThe entities of this data source.
ReadonlymigrationsAll migrations that belong to this data source.
Abstract ReadonlyoptionsReadonlyrootThe optional root password.
ReadonlyrootThe optional root username.
Adds a new property to the given entity.
Mostly needed in the context of migrations.
Changes the given oldProperty to the newProperty on the given entity.
Optionalname?: keyof TThe name of the new column.
The type of the new column.
Creates the data that should be backed up in form of a Readable stream.
Gets a repository to manage the provided entity class in the data source.
A repository for the provided entity class.
Initializes the data source.
Restores this resource to the the given backup data.
Runs migrations for the data source.
Shuts down the data source. Should be called from the data source service AfterAppShutdown hook.
Starts a new transaction.
OptionalisolationLevel: IsolationLevelThe isolation level of the transaction.
A new transaction that can be passed to any repository methods.
A base postgres data source definition.