google-developer-training / basic-android-kotlin-compose-training-inventory-app

Apache License 2.0
77 stars 84 forks source link

Persist data with Room #13

Closed placidfox closed 1 year ago

placidfox commented 1 year ago

URL of codelab: https://developer.android.com/codelabs/basic-android-kotlin-compose-persisting-data-room?hl=fr&continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-2%3Fhl%3Dfr%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-persisting-data-room#5

Specify the language of the codelab if it is not English: French

In which task and step of the codelab can this issue be found? 6 - Créer le DAO

Describe the problem request must be : @Query("SELECT from items WHERE id = :id") not @Query("SELECT from item WHERE id = :id")

because tableName is items and not item

Steps to reproduce?

Versions

Additional information Include screenshots if they would be useful in clarifying the problem.

osuleymanova commented 1 year ago

Duplicate of #8, #6.