I think the general idea is you have a SQL DB to handle the heavy lifting, then convert that data into your language’s structure on query.
For example, say if you were only ever pulling one record at a time, you could easily wrap those columns I to a dictionary. Yish?
Unless I’m misreading what the trouble is ;-;