Feature #3852

Implement removeAll() for Repository

Added by Robert Lemke over 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Persistence
Start date:
2009-07-09
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

Description

The \F3\FLOW3\Persistence\Repository class should provide a removeAll() method which allows to flush / truncate / ... the given repository.

Would it make sense to also have a removeBy() method? If so ... open another ticket.

Associated revisions

Revision cebf33d0 (diff)
Added by Karsten Dambekalns about 10 years ago

[~TASK] FLOW3: Fixed method parameter documentation found by new reflection service checks.
[+FEATURE] FLOW3 (Persistence): added removeAll() to base repository, resolves #3852.

History

#1 Updated by Robert Lemke over 10 years ago

  • Target version set to 1.0 alpha 3

#2 Updated by Karsten Dambekalns over 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Karsten Dambekalns

Would that be transient (i.e. need a call to persistAll() to be effective), or write to the persistent layer immediately?

#3 Updated by Robert Lemke about 10 years ago

  • Target version deleted (1.0 alpha 3)

#4 Updated by Karsten Dambekalns about 10 years ago

  • Status changed from Needs Feedback to Accepted
  • Target version set to 1.0 alpha 5

#5 Updated by Karsten Dambekalns about 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3189.

Also available in: Atom PDF