How to store an array as the value in Tokyo Cabinet?
- by punkish
Is there any way I can store an array of numbers in a Tokyo Cabinet db? For example, I have predictable arrays of values such as
1 => [1, 2, 444, 0.987],
2 => [2, 23, 123, -0.234],
3 => [3, 1, 34, 1.456]
I would like to store the above in a TC fixed length db. Is there a way to store the above as arrays instead of as strings?