nestjs-knex
nestjs-knex copied to clipboard
Knex module for Nest
Hello, I can't find how I can handle success or error connection to the database. AfterCreate method seems not working. Any ideas on how to do it? Basically, I want...
Hi, I use this module and it works great, but I am stuck on how to do multi tenant dynamic connections based on Scope.REQUEST. I managed to make two connections...
I have union query ``` queryKnex = queryKnex.union(queryKnex2); ``` I want to create table from it query and add alias? ``` let queryUnion = this.knex({ 'random_name': queryKnex }) .select('*') ```...
how do i connect multiple databases?
Hi, with typescript 5 there is an error ```ts import { Injectable } from '@nestjs/common'; import { InjectKnex, Knex } from 'nestjs-knex'; @Injectable() export class UsersService { constructor(@InjectKnex() private readonly...
#Fixes svtslv/nestjs-knex#40 This make a version jump to nestjs 10 for dev dependencies since the problem is fixed there
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...
what is the correct way to attatch this pagination plugin -> https://github.com/felixmosh/knex-paginate we use it on express , but there the module registration is confusing me on where to execute...