insert() public method
Inserts a row into the associated Mongo collection using the attribute values of this record. This method performs the following steps in order: call beforeValidate() when $runValidation is true. If validation fails, it will skip the rest of the steps; call afterValidate() when $runValidation is true. call beforeSave(). If the method returns false, it will skip the rest of the steps; insert the record into collection. If this fails, it will skip the rest of the steps;