save#

String.save(**kwargs)#

Serialize the current content into the ORM payloaddata field.

Parameters:
**kwargs

Keyword arguments forwarded to the database save method of the underlying ORM instance. For eg: The using argument can be used to select the target database alias.

Raises:
IntegrityError

If the database reports an integrity violation while saving.

InvalidFieldError

If invalid field names or values are supplied (via decorator).

Exception

Any other unexpected exception is propagated unchanged.