Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway76324
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
throwaway76324
2y ago
You can just specify a model/DTO object and serialize it as JSON when saving. Many frameworks do that automatically so you don't need to think about it. At work we just annotate the field in the model as a json-field, and the fram
2.
▲
by
throwaway76324
2y ago
At $WORK, we use the same approach for integrations with 3rd party systems. The data that is common for all integrations are stored as columns in a relational table. Data that are specific for each integration are stored in JSONB. This is t