mirror of
https://github.com/strapi/strapi.git
synced 2025-08-15 04:08:04 +00:00
24 lines
1.4 KiB
Markdown
24 lines
1.4 KiB
Markdown
# strapi-hook-knex
|
|
|
|
[](https://www.npmjs.org/package/strapi-hook-knex)
|
|
[](https://www.npmjs.org/package/strapi-hook-knex)
|
|
[](https://david-dm.org/strapi/strapi-hook-knex)
|
|
[](https://travis-ci.org/strapi/strapi-hook-knex)
|
|
[](http://slack.strapi.io)
|
|
|
|
This built-in hook allows you to directly make SQL queries from your Strapi connections to your databases thanks to the [Knex node module](http://knexjs.org/).
|
|
|
|
[Knex](http://knexjs.org/) is a "batteries included" SQL query builder for SQLite3, PostgreSQL, MySQL, MariaDB, Microsoft SQL Server and Oracle designed to be flexible, portable, and fun to use.
|
|
|
|
It features both traditional Node.js style callbacks as well as a promise interface for cleaner async flow control, a stream interface, full featured query and schema builders, transaction support (with savepoints), connection pooling and standardized responses between different query clients and dialects.
|
|
|
|
## Resources
|
|
|
|
- [MIT License](LICENSE.md)
|
|
|
|
## Links
|
|
|
|
- [Strapi website](http://strapi.io/)
|
|
- [Strapi community on Slack](http://slack.strapi.io)
|
|
- [Strapi news on Twitter](https://twitter.com/strapijs)
|