Skip to content

Conversation

Bartek20
Copy link

  • use SoftDeletes trait directly in Cascade trait to fix missing SoftDeletes if user forgots to implement it on model level
  • Fix chunk fetch method
  • Add option to sync timestamps across all relations ($syncTimestamp on model) - makes it easier to implement cascade restore
  • Delete without events if no relations present
  • Fetch only primary key to decrease memory usage

fixes: #76

* use SoftDeletes trait directly in Cascade trait to fix missing SoftDeletes if user forgots to implement it on model level
* Fix chunk fetch method
* Add option to sync timestamps across all relations
* Delete without events if no relations present
* Fetch only primary key to decrease memory usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method Illuminate\Database\Eloquent\Collection::delete does not exist
1 participant