InMemoryDb
class. By doing this, you will be able to use all features that depend on having a database, without having to set one up.
Using the In-Memory storage is not recommended for production applications.
Use it for demos, testing and any other use case where you don’t want to setup a database.
Usage
Developer Resources
- View Cookbook