Mongoose soft delete plugin
Soft-delete plugin for @knorm/knorm
A loopback-next extension for soft delete feature.
The declarative soft-delete solution for MikroORM.
Soft Delete for Bookshelf.js
A plugin for objection js that supports soft delete
A plugin for objection js to support soft delete functionallity
a mongoose plugin that allows you to soft delete documents and restore them (for JS & TS)
Add a soft delete feature to your project
Soft delete data from your database
Plugin for mongoose soft delete
Mongoose soft delete plugin
A loopback-next extension for soft delete feature
mongoose soft delete plugin
Soft delete plugin for Kysely repositories
Sequelize model plugin for add soft-delete method
Pure utility for soft delete functionality - mark content as deleted without permanent removal, track deletion metadata, and support restoration
Vuex ORM plugin for adding soft delete capability.
Content storage orchestrator with soft-delete, versioning, and autosave
<div align="center"> <h1>Strapi v5 - Soft Delete plugin</h1> <p>Powerful Strapi based Soft Delete feature, never loose content again</p> </div>
Mongoose soft delete plugin
Prisma soft-delete extension for NestJS with automatic query filtering, cascade support, and restore API
Soft delete plugin for Strapi v5 — never lose content again. Drop-in replacement for strapi-plugin-soft-delete with pagination, lifecycle hooks, TTL auto-purge, and full test coverage.
Soft delete utilities for TypeORM with enhanced DX
Soft-delete support for SeaORM entities
Database layer for modo using SeaORM
Local GraphRAG memory for LLMs in a single SQLite file
Procedural macros for modo-db
Typed Rust query builder with CTE and soft-delete support.
Full-stack code generator CLI: Axum + SeaORM + React + TypeScript + shadcn/ui
Core library for Romance CLI code generation
Embedded Tera templates for Romance CLI
Project memory for coding agents. Single binary, hybrid search, knowledge graph.
Core type system, query model, decoding, and SQL lowering primitives for qraft.
Procedural derives for qraft query-builder models, rows, and projections.
Shared derive implementation helpers for qraft procedural macros.
A gem which adds soft delete functionality
Overwrites default destroy behaviour by setting a deleted_at field.
Soft delete records within rails
# Soft Delete > In a production app, you should probably never really delete anything. [source](https://twitter.com/theebeastmaster/status/966870021099180034) A soft-delete marks a record as deleted, and keeps it in the database for historical reference. ## Installation Add this line to your application's Gemfile: ```ruby gem "soft_delete-workbar", require: "soft_delete" ``` And then execute: $ bundle Or install it yourself as: $ gem install soft_delete-workbar ## Usage Safely "delete" records from your database without losing them permanently. * Add SoftDelete to a model ``` class MyModel < ActiveRecord::Base include SoftDelete end ``` * Add a `deleted_at` column to the model's database table ``` rails g migration AddSoftDeleteToMyModels deleted_at:timestamp ``` * Safely call `MyModel#delete` without losing the record forever ## Methods Please see the `SoftDelete` module and the associated tests for a description of the methods that will be added to your model. * `.not_deleted` - records without a deleted_at timestamp * `.deleted` - records with a deleted_at timestamp * `#delete` - set the deleted_at timestamp * `#delete!` - delete the record from the database * `#destroy` - set the deleted_at timestamp, and run callbacks * `#destroy!` - delete the record from the database, and run callbacks * `#restore` - set the deleted_at timestamp to nil It will be necessary to exclude deleted records when querying the model. Use the `not_deleted` scope that now exists on the model. ```ruby class MyModelsController < ApplicationController def index @my_models = MyModel.not_deleted end end ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/workbar-dev/soft_delete. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Flags records as deleted instead of removing them
Simple and unobtrusive soft delete for rails
Simple gem for soft delete.
Small gem to add soft delete feature to active record
This gem takes an open approach and lets you decide how little or how much your project will be using the soft delete pattern. It can be configured on a per-model level to use whichever features are appropriate at the time. This makes it especially easy to introduce soft delete into existing projects.
Extends the NoBrainer ORM to include soft delete capabilities similar to Paranoia for Active Record.
Quarzo Soft-Delete pattern implementation. Support to set_table_name
Allows marking ActiveRecord objects as discarded, and provides scopes for filtering.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.