Room Database - Using Foreign Keys!

Поделиться
HTML-код
  • Опубликовано: 9 окт 2023
  • 💻 Join my new Refactoring Legacy Code course now: bit.ly/47dzTLT
    📩 Sign up for my new newsletter here 👉 bit.ly/YCNewsletter102
    Join my Community on Discord:
    / discord
    In this video, we will see how to use the Foreign Keys in Room database to create relationships between entities for one-to-one relationships and one-to-many relationships.
    Room is a Jetpack Persistence library; it provides an abstraction over SQLite, which you can use to save data locally on your device, especially for delivering an offline experience for your users.
    In This video series, I demonstrate the basic features of Room Library, starting with the setup, adding entities and Daos, creating converters and database, and completing with some of the Best practices such as Clean Architecture, Repository pattern, and Testing.
    👨🏽‍🏭 Who I am:
    I'm Younes Charfaoui, a Junior Software Engineer and an Android Developer. I make videos about Android development, Technology, and Productivity for software engineers.
    😋 Be My Friend:
    💻 GitHub - github.com/Younes-Charfaoui/
    🐦 Twitter - / charfaouiyounes
    📑 Medium - / mxcsyounes
    📷 Instagram - / charfaoui.younes
    🌍 My website - www.younescharfaoui.com

Комментарии • 12

  • @hafifkiloyladaolsadeadlift5428
    @hafifkiloyladaolsadeadlift5428 2 месяца назад +1

    Thank you!

  • @javacore-qk9kd
    @javacore-qk9kd 6 месяцев назад +1

    This is the most underrated video on RUclips 🔥🔥🔥

  • @vikramragunathan6392
    @vikramragunathan6392 22 дня назад +1

    Wonderful 😀

  • @legui444532
    @legui444532 7 месяцев назад +1

    thanks, I thought it would be more complicated but you explained in a simple way

  • @goodghostgaming5100
    @goodghostgaming5100 26 дней назад

    Thanks for the effort man!!!

  • @MatheusFaleiro
    @MatheusFaleiro 9 месяцев назад

    Thanks for another amazing video :)

  • @glooglee4386
    @glooglee4386 2 месяца назад

    wow a great video, thanks. can you make a tutorial about, what if the books id that already exist, can be reviewed. like by the already exist books id, we want to make a column about its reviewed. thanks

  • @Eyuel29
    @Eyuel29 5 месяцев назад

    very helpful

  • @husordavid5405
    @husordavid5405 5 месяцев назад

    I have relation 3 tables, exmple table A one to many with B and table C same one to many with B... i try like video and i get error "foreign key constraint failed (code 787 sqlite_constraint_foreignkey)" when insert table B, can you explain why i get that error ?