Strapi plugin logo for Raw Query

Raw Query

Raw Query allows you to send raw query strings to the database within Strapi CMS backend

thumbnail for Raw Query

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
1// config/plugins.js
2
3module.exports = {
4  'raw-query': {
5    enabled: true,
6  },
7  // ...
8}
  • 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:

yarn add strapi-plugin-raw-query@0.0.3

# or

npm i strapi-plugin-raw-query@0.0.3

🖐 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

Install now

npm install strapi-plugin-raw-query

STATS

22 GitHub stars12 weekly downloads

Last updated

220 days ago

Strapi Version

4.4.0 and above

Author

github profile image for Tobias Thiele
Tobias Thiele

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.