Suppose I have a table 'Note':
PK id: int
note: varchar
FK tags: Tags[]
and another table 'Tags":
PK id: int
tag: varchar
FK note: Note[]
Now, if I want to add a new record, say:
{
"note": "Hello World!, this is an example note",
"tags": ['first','example']
}
Is there a way to do it in a single request? Or, Do I have to save the tags and make another request with their ids?