A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuex-orm/plugin-soft-delete below:

vuex-orm/plugin-soft-delete: Vuex ORM plugin for adding soft delete feature to model entities.

Vuex ORM Plugin: Soft Delete

Vuex ORM Soft Delete plugin adds soft delete capabilities to Vuex ORM models.

The plugin allows models to be soft deleted or "trashed" without actually removing them from the entity data set. Subsequently, when executing queries, the soft deleted models will be excluded from results. Using query modifiers, queries can be instructed to inclusively or exclusively retrieve soft deletes.

// Model action example...
User.softDelete(1)

// Instance action example...
const user = User.find(1)
await user.$softDelete()

// Query integration example...
User.query().withTrashed().get()
User.query().onlyTrashed().get()

Vuex ORM is sponsored by awesome folks. Big love to all of them from whole Vuex ORM community 💕

You can check out the full documentation for Vuex ORM Plugin: Soft Delete at https://vuex-orm.github.io/plugin-soft-delete.

Join us on our Slack Channel for any questions and discussions.

Although there is the Slack Channel, do not hesitate to open an issue for any question you might have. We're always more than happy to hear any feedback, and we don't care what kind of form they are.

Vuex ORM can be extended via plugins to add additional features. Here is a list of available plugins.

Also, you can find a list of awesome things related to Vuex ORM at Awesome Vuex ORM.

We are excited that you are interested in contributing to Vuex ORM Plugin: Soft Delete! Anything from raising an issue, submitting an idea of a new feature, or making a pull request is welcome! Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.

When submitting a new pull request, please make sure to follow these guidelines:

These rules also apply to the documentation. If you're submitting documentation about a new feature that isn't released yet, you must checkout the dev branch, but for non-functional updates, such as fixing a typo, you may checkout and commit to the master branch.

There are several scripts to help with development.

Compile files and generate bundles in dist directory.

Lint files using Prettier.

Run the test using Jest.

Run the test in watch mode.

Generate test coverage in coverage directory.

Build and boot documentation server with VuePress.

Vuex ORM Plugin: Soft Delete is open-sourced software licensed under the MIT license.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4