Re:Show HN: Use Google Spreadsheet as a Database
by ibizaman on Wednesday July 19, 2017 @08:24AM
(#14803768)
Don't hesitate to stick to enhancing the low-level non opinionated api. Having one is great because that enables all users to do what they want.
Then you can have other apis on top of it for opinionated usage like a kv store or other stuff.
For representing a nested key the first implementation that springs in mind is to use the indent (number of empty colums on the left) as indicator of parent-child relationship.
Re:Show HN: Use Google Spreadsheet as a Database
by parthpatel1001 on Tuesday July 18, 2017 @11:09AM
(#14797103)
You could flatten the json object - instead of joining the keys with a `.` scheme, treat those as columns in your sheet.
From the other hand, it's hard to map JSON to a spreadsheet, because - what to do with the nested keys. Any ideas?