--- title: insert state tags: table --- ``` mutation ($objects: [state_insert_input!]!) { insert_state(objects: $objects) { returning { id stateName cities { cityName stateId } } affected_rows } } ``` ``` { "objects":[ { "stateName": "maharashtra", "cities": {"data": [ {"cityName": "mumbai"}, {"cityName": "pune"} ]} } ] } ```