Skip to content

[Request]: access to knex functions #534

@violabg

Description

@violabg

Summary

in v3 it was possible to use

const knex = strapi.connections.default;

is this still available?

Why is it needed?

I want to migrate to v4, but I need to have some custom queries and can't find anything related to this topic on the new documentation.

Suggested solution(s)

No response

Related issue(s)/PR(s)

No response

Metadata

Metadata

Assignees

Labels

issue: quick fixIssues that could be fixed quickly, with small- to medium-sized PRssource: Dev DocsPRs/issues targeting the Developer Docstarget: v4Documentation PRs/issues targeting content from docs.strapi.io (main branch).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions