Installation
The Data Plugin integrates TypeORM with AxiSpark.js. Follow the steps below to connect your database and register the plugin.
Repositories
Repositories give application code a focused API for one entity. A data repository is an ordinary TypeScript class decorated with the Data package's @Repository decorator and derived from BaseRepository.
Derived queries
The Data plugin can generate read queries from a repository method's name. It parses the method against the entity's TypeORM metadata, binds method arguments as query parameters, and dispatches to SQLQueryEngine or MongoQueryEngine according to the owning data source.