Skip to content

Raw Query allows you to send raw query strings to the database.

Notifications You must be signed in to change notification settings

creazy231/strapi-plugin-raw-query

Repository files navigation

Strapi Plugin: Raw Query

Raw Query allows you to send raw query strings to the database within Strapi CMS backend. That's it 🤷🏻‍♂️

Maintenance Maintainer GitHub release NPM release Github all releases Support me on Ko-fi GitHub forks GitHub stars GitHub watchers

Strapi Plugin - Raw Query

⏳ Installation

Install Strapi with this Quickstart command to create a Strapi project instantly:

# with yarn
yarn create strapi-app my-project --quickstart

# with npm/npx
npx create-strapi-app my-project --quickstart

This command generates a brand new project with the default features (authentication, permissions, content management, content type builder & file upload). The Quickstart command installs Strapi using a SQLite database which is used for prototyping in development.


  • Add the strapi-plugin-raw-query plugin
yarn add strapi-plugin-raw-query@latest

# or

npm i strapi-plugin-raw-query@latest
  • Enable the plugin
// config/plugins.js

module.exports = {
  'raw-query': {
    enabled: true,
  },
  // ...
}
  • After successful installation you've to build a fresh package of the Strapi backend:
yarn build && yarn develop

# or

npm run build && npm run develop
  • or just run Strapi in the development mode with --watch-admin option:
yarn develop --watch-admin

#or

npm run develop --watch-admin

The Raw Query plugin should appear in the Plugins section of Strapi sidebar after you run app again.

🏚 Strapi v3 Support

For Strapi v3, you can install the plugin using the following command and continue with the installation:

🖐 Requirements

Supported Strapi versions:

  • Strapi: >= 4.x.x

Supported Node / NPM versions:

  • Node: >= 12.x.x <= 20.x.x
  • NPM: >= 6.0.0

We recommend always using the latest version of Strapi to start your new projects.

🤝 Contributing

Feel free to fork and make a Pull Request to this plugin project. All the input is warmly welcome!

⭐️ Show your support

Give a star if this project helped you.

Support me on Ko-fi

🔗 Links

📝 License

MIT License Copyright (c) 2024 creazy231

ForTheBadge built-with-love

About

Raw Query allows you to send raw query strings to the database.

Resources

Stars

Watchers

Forks