In SQLDelight, is it possible to use custom column...
# squarelibraries
e
In SQLDelight, is it possible to use custom column types that in turn use their own custom types? As an example:
Copy code
import com.myapp.model.Medication;
import com.myapp.model.Dosage;

CREATE TABLE _Treatment(
    startDate TEXT NOT NULL,
    endDate TEXT,
    medication TEXT as Medication,
    dosage TEXT as Dosage
);
Is there a recommended way to encode/decode this in a ColumnAdapter?