Hi guys,
I need to store a map<string,float> in a SQLite database, in this way:
I have 2 tables, let's call them table1 and table2. And a map<string,float> let's call him value. If the value is, for example, value["A"] = 5, value["B"] = 10; The tables must look like this:
table1
id key
1 A
2 B
table2
id table1_id (FK) value
1 1 5
2 2 10
How can I do this in an efficient way? Thank you in advance.





