(int) save($con = null)
Stores the object in the database. If the object is new,
it inserts it; otherwise an update is performed. This method
wraps the doSave() worker method in a transaction.
@param Connection $con
@return int The number of rows affected by this insert/update and any referring fk objects' save() operations.
@throws PropelException
@see doSave()
(void) delete($con = null)
Removes this object from datastore and sets delete attribute.
@param Connection $con
@return void
@throws PropelException
@see BaseObject::setDeleted()
@see BaseObject::isDeleted()


コメントする