Database with SQLDelight in Kotlin Multiplatform

Поделиться
HTML-код
  • Опубликовано: 18 янв 2025

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

  • @MohamadJamous-s1w
    @MohamadJamous-s1w Месяц назад

    Very helpful and clear, keep it up!

  • @youssefsoliman3341
    @youssefsoliman3341 3 месяца назад

    i suffer alot with KMP the first thing when i added svg to the project i got too many errors then when i downloaded the reposotry when i run it it give me this Error: Could not find or load main class MainKt
    Caused by: java.lang.ClassNotFoundException: MainKt
    i hate KMP 😟

  • @joeybasile545
    @joeybasile545 6 месяцев назад

    How did you track down these required dependencies?

    • @pererikbergman
      @pererikbergman  6 месяцев назад

      Mainly on:
      cashapp.github.io/sqldelight/2.0.2/ &
      github.com/cashapp/sqldelight

  • @devgabriel6898
    @devgabriel6898 8 месяцев назад

    can you push those changes? Its very different from what official page shows as installation for this

    • @pererikbergman
      @pererikbergman  8 месяцев назад

      of course, done. missed that detail :)

    • @devgabriel6898
      @devgabriel6898 8 месяцев назад +1

      @@pererikbergman Thanks!!

  • @galaxiegalaxie5003
    @galaxiegalaxie5003 8 месяцев назад

    Awesome.Nice Video.Isnt there any possible way to automate this migration automatically. Also how about viewing the data of emulator and real device with some kind of admin view? 😊❤

    • @pererikbergman
      @pererikbergman  8 месяцев назад

      I don't really know any automated way to migrate, but Room was just released if that's what you are using right now, should be easier.
      As of now Fleet is still a preview and is far from as powerful as Android Studio, there is no real good tools as I know of today. I am using Fleet for the main purpose of learning their new IDE and I believe it have great potential!
      So for viewing databases on device I would rely on what you have for Android Studio for now.

    • @galaxiegalaxie5003
      @galaxiegalaxie5003 8 месяцев назад

      @@pererikbergman well i am using no sql database objectbox which is great but unfortunately it doesnot support multiplatform. It has like great migration system (when column rename and datatype need to be changed), great tools like web admin where you can view database tables within real android device or webbrowser, very easy to use. I was looking for those kind of database but this kind of functionality lacks on multiplatform or other database. Anyways keep making great content. I love your presentation.Thank you