- Getting started
- Basics
- Create a Bean
- Loading a Bean
- Deleting a Bean
- Freeze
- Finding
- Relation Mapping
- Models
- Database
- BeanCan
- Advanced
- Architecture
- Other
Deleting a Bean
To remove a bean from the database:
R::trash( $book );
To delete more beans of type book:
R::trashAll( $books );
To delete all beans of type book:
R::wipe( 'book' );
For a complete overview of all methods in R, see the facade API.
Tweet
User contributed notes. Please use the comment section to provide tips, notes and examples. To ask for support or to provide feedback use the forum. For bug reports use Github Issue Tracker.
Site comments powered by Disquspage generated in 0.010646104812622 sec.