Creating a type-safe WHERE clause DSL using Kotlin

This page summarizes the projects mentioned and recommended in the original post on /r/Kotlin

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • contacts-android

    Android Contacts API Library written in Kotlin with Java interoperability. No more ContentProviders and cursors. Say goodbye to ContactsContract. Build your own contacts app!

  • I don’t want to take credit for this genius idea. Would you be interested in contributing to my project? Everything you’d need to modify is in one file; https://github.com/vestrel00/contacts-android/blob/main/core/src/main/java/contacts/core/util/FieldsWhere.kt

  • SQLDelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

  • I did not know about SQLDelight! Thanks for sharing that. I just took a quick look at it. From what I saw, it might not work for my use case. But I'm not 100% sure unless I spend a few hours actually trying it out. I'm building a library where the database tables are already defined by the system. I'm talking about the Contacts Provider. Let me know if you think that it's possible. Otherwise, I'll give it a try when I miraculously get some free time lol.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • CbKtx

    A lightweight Kotlin friendly wrapper around Couchbase lite for Android.

  • The project is open source, I hope it may help, you can check it here: https://github.com/JayaSuryaT/CbKtx.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts