diff --git a/TODO.org b/TODO.org index 9277bd7..8e6ad48 100644 --- a/TODO.org +++ b/TODO.org @@ -44,6 +44,12 @@ I've got SlideType enums working *** Move logic of changing slides to slide_model Since the slide_object is merely supposed to be the view of the current slide, deciding which slide to switch to should be entirely on the slide_model, not the slide_object. This way slide_object doesn't need to know anything about the which slide is next and instead have a function to update everything to the slide returned from slide_model's new slide. +** TODO [#A] Consider converting diesel to raw sqlx instead +From what I can gather, sometimes an orm is just too hard to work around rather than doing raw sql queries. The only issue is that my queries have been rather small. I only really need to select everything into the app and then run it from there. However, it could still be a consideration as things age. Perhaps when there are hundreds or even thousands of items in the database, it'll be more effective to use something like SQLx. + + +Progress is moving on this. SQLx works for the song model already, I'll just copy the kind of work over to the others. + ** TODO [#B] start and end times for videos :feature: This is something I couldn't get right in my head and plans and I hope rust will help me to solve it. @@ -158,8 +164,6 @@ Need to experiment with it more. [[file:~/dev/lumina/src/rust/song_model.rs::AudioRole,]] *** TODO Need to work on all warnings and errors to cleanup logs [[file:~/dev/lumina/src/rust/song_model.rs::AudioRole,]] -** TODO Consider converting diesel to raw sqlx instead -From what I can gather, sometimes an orm is just too hard to work around rather than doing raw sql queries. The only issue is that my queries have been rather small. I only really need to select everything into the app and then run it from there. However, it could still be a consideration as things age. Perhaps when there are hundreds or even thousands of items in the database, it'll be more effective to use something like SQLx. ** TODO Figure out qml hot reload :maintenance: https://www.reddit.com/r/QtFramework/comments/11plifj/qhot_now_with_qt6_support/ ** TODO Switch to using rust only deletion functions. :bug: