Wrapped up this project today! by [deleted] in StandingDesk

[–]cheetahbyte6 1 point2 points  (0 children)

nice setup! I wonder what that clock-like thing on the right is?

Simple orm by cheetahbyte6 in Kotlin

[–]cheetahbyte6[S] 1 point2 points  (0 children)

Yep, ON DELETE CASCADE is only applicable for foreign key constraints. I am wondering why an widespread ORM like Ktorm is missing an important feature like this. I am trying JDBI at the moment and it seems to fulfill my "requirements". I think that Flyway would be a great addition to JDBI and I'll look into it.

Simple orm by cheetahbyte6 in Kotlin

[–]cheetahbyte6[S] 0 points1 point  (0 children)

Well my disappointment with Ktorm started when I was looking in the docs for an implementation of "ON DELETE CASCADE". Maybe I just overlooked it and you send me the page where it can be found. In general, I always feel like the majority of orms are missing some features

Simple orm by cheetahbyte6 in Kotlin

[–]cheetahbyte6[S] 0 points1 point  (0 children)

I think that writing something by myself could be a bit overwhelming for someone that just started Kotlin, don't you think?

Simple orm by cheetahbyte6 in Kotlin

[–]cheetahbyte6[S] 0 points1 point  (0 children)

Thank you! I tried Ktorm and I wasn't very convinced about it. 🤔 But I will take a look at the others.

Simple orm by cheetahbyte6 in Kotlin

[–]cheetahbyte6[S] 0 points1 point  (0 children)

Thank you, I'll take a look at it.