Zoltan Demant10/06/2023, 1:23 PM
in my SqlDelight table, where
status TEXT AS Status NOT NULL
is an enum class. Can I somehow do
instead of entering "Available"?
WHERE status = Status.Available
kevin.cianfarini10/06/2023, 1:28 PM
Zoltan Demant10/06/2023, 2:09 PM
jw10/06/2023, 2:28 PM
is used only for customizing the bridge between the database and user code and even that still requires an explicit converter from the database representation to the selected type. So no, there is no way to do what you ask today but furthermore there are no plans to support it.