updated delete comment

This commit is contained in:
Gani Georgiev 2022-12-13 09:08:54 +02:00
parent b1a63bb98d
commit 6d46cefd1f
1 changed files with 2 additions and 2 deletions

View File

@ -345,10 +345,10 @@ func (dao *Dao) SaveRecord(record *models.Record) error {
// DeleteRecord deletes the provided Record model.
//
// This method will also cascade the delete operation to all linked
// relational records (delete or set to NULL, depending on the rel settings).
// relational records (delete or unset, depending on the rel settings).
//
// The delete operation may fail if the record is part of a required
// reference in another record (aka. cannot be deleted or set to NULL).
// reference in another record (aka. cannot be deleted or unset).
func (dao *Dao) DeleteRecord(record *models.Record) error {
// fetch rel references (if any)
//