if I want to save an object which has a value whic...
# orm-help
d
if I want to save an object which has a value which is another object, e.g.
Copy code
{
  "entity": {
    "type": {
      "id": 1,
      "filter": true
    }
  }
}
Is my only option to create another type for "type"? If so, what if I want to insert that entity now but the "type" is not in the database (no type with id 1)? Can I create both in one operation?