Zoltan Demant
10/06/2023, 1:23 PMstatus TEXT AS Status NOT NULL
in my SqlDelight table, where Status
is an enum class. Can I somehow do WHERE status = Status.Available
instead of entering "Available"?kevin.cianfarini
10/06/2023, 1:28 PMZoltan Demant
10/06/2023, 2:09 PMjw
10/06/2023, 2:28 PMAS Status
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.