Closed ra0x3 closed 7 months ago
@ra0x3, I'm of the opinion that allowing for record deletion inside of the handler code could lead to a couple of unforeseen issues:
Thanks @deekerno
DELETE
can lead to degraded performance@index
directive REINDEX
the data on some interval to clean things upHeard. I guess that's more data for the "education gap" that we've been discussing. π
DELETE
query.delete()
could be called on a single instance ofEntity
and::delete()
could be passed a query where in which multiple instances matching the given query are deleted.delete()
::delete()
::delete()
βπΌ is effectively just::find()
but with aDELETE
instead of aSELECT