Closed shgysk8zer0 closed 7 years ago
How can I know without touching database what types to be INSERT
ing and UPDATE
ing?
This might require adding const
s to each class to define what types to use for each property.
For now, only need to worry about JSON. Arrays will not be handled in this release. Since I already parse JSON, I'm marking this issue as resolved.
Need to be able to correctly parse and create
{"str1", "str2", ...}
text[]
{'{"key": "value"}, ...'}
jsonb[]
{"key": "value", ...}
jsonb
Will need to create a method to distinguish between types
text
,text[]
,jsonb
, &jsonb[]