- Jun 6, 2020
- 11,559
- 4,422
I have a map object and want the value of the key to be another map... Do this all the time... no biggie..
But, I want to store this map in a SQLite table field (of type - TEXT), and later send record to my server and insert into MySQL table feild.
I think I understand it must be serialized to accomplish the feat.
I have studied Erels "new" KeyValueStore to try and learn how.
Questions:
Does one serialize each value - or does one serialize the entire map? (containing the value map with strings for their values) - very small in size....
Also, does the table field type for value have to be NONE, as with the CreateTable method in his example?
B4X:
But, I want to store this map in a SQLite table field (of type - TEXT), and later send record to my server and insert into MySQL table feild.
I think I understand it must be serialized to accomplish the feat.
I have studied Erels "new" KeyValueStore to try and learn how.
Questions:
Does one serialize each value - or does one serialize the entire map? (containing the value map with strings for their values) - very small in size....
Also, does the table field type for value have to be NONE, as with the CreateTable method in his example?
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید