Using Sqldelight and I run into an issues trying to get the headers of a table:
https://github.com/cashapp/sqldelight/issues/5141
Looks like PRAGMA statements are not quite working in 2.0.2
Does anyone know of an alternative way to get the headers of a table?
I'm trying to select all the data from a table and save it into a csv (in a kmp project).
I'm trying to avoid having to change the parser when we update the table. Could (and probably will) guard it with tests, but wanna avoid to have to update the queries when we update the schema.
Open to suggestions 🙂