drift icon indicating copy to clipboard operation
drift copied to clipboard

add ListConverter

Open ddxl123 opened this issue 1 year ago • 1 comments

similar to:

TextColumn get list => list<String>()();

ddxl123 avatar Aug 24 '23 11:08 ddxl123

I think there are to many uncertainties on how that list should be saved? As an encoded JSON array? I could see the argument for a builtin JSON column type if that's what you're interested in, but type converters are (I hope) fairly easy to write and to integrate into the database, so I'm not sure if there are that many that drift should provide out of the box.

simolus3 avatar Aug 24 '23 11:08 simolus3