Database interface
Genesis supports different ways of interacting with the database. Regardless of the interface used, the operations remain the same. The preferred way of accessing the database is via the EntityDb.
Genesis supports different ways of interacting with the database. Regardless of the interface used, the operations remain the same. The preferred way of accessing the database is via the EntityDb.
The entity db enables you to interact with the database layer; you can use any generated type-safe entities for
During the code generation phase, repository classes are generated for every table and view in the system. These repositories provide a type-safe way of accessing the database.
Using RxDb instead of entityDb or generated repositories will circumvent compile-time validation of database interactions. This means that errors might not appear until runtime or might lead to unexpected results.