updated delete comment
This commit is contained in:
parent
b1a63bb98d
commit
6d46cefd1f
|
@ -345,10 +345,10 @@ func (dao *Dao) SaveRecord(record *models.Record) error {
|
||||||
// DeleteRecord deletes the provided Record model.
|
// DeleteRecord deletes the provided Record model.
|
||||||
//
|
//
|
||||||
// This method will also cascade the delete operation to all linked
|
// 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
|
// 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 {
|
func (dao *Dao) DeleteRecord(record *models.Record) error {
|
||||||
// fetch rel references (if any)
|
// fetch rel references (if any)
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue