pgcom.commuter.Commuter.insert_row

Commuter.insert_row(table_name: str, return_id: Optional[str] = None, **kwargs: Any) Optional[int][source]

Implements insert command.

Inserted values are passed through the keyword arguments.

Parameters
  • table_name – Name of the destination table.

  • return_id – Name of the returned serial key.