AbstractAbstract ReadonlyentitiesThe entities of this data source.
ReadonlymigrationsAll migrations that belong to this data source.
ReadonlyoptionsThe configuration options of the data source.
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.
AbstractcreateCreates 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.
AbstractrestoreRestores 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.
Base data source implementation of zibri. Uses typeorm under the hood.