In the Movie table example, you have five rows each representing a different movie
record added to your database. The
ID
column shows the primary key for each movie.
Title
and
Description
are String values,
ReleaseDate
is a Date field and
Rating
is a
Float. This will help you form the appropriate entity within the Android project so
that Room can create the database and tables.
Do'stlaringiz bilan baham: