Alen IBRIC

Apr 17, 2021

10 min read

Work with SQLite database in Android with the help of Room library

Introduction

Entity (table)

@PrimaryKey

@ColumnInfo

@Embedded

@ForeignKey

@Relations

Data Access Object — DAO

@Dao

@Insert

@Delete

@Query

DataBase

Repository