Database interface - RxDb
warning
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.
The RxDb
enables you to interact with the database layer, but you do not have any level of type-safety when doing so, as it uses DbRecord.
The interface supports the same operations as the generated repositories, but will accept any entity represented as DbRecord
. It supports read and write operations for tables only.
The RxDb
can be injected in Kotlin and Java using RxDb
.
RxDb | |
---|---|
Supports tables | ✔️ |
Supports views | ❌️ |
Supports any data type |