kazu728 / nestjs-kysely Goto Github PK
View Code? Open in Web Editor NEWKysely module for NestJS
License: MIT License
Kysely module for NestJS
License: MIT License
This line causes type error.
nestjs-kysely/src/kysely.interfaces.ts
Line 31 in a703633
How do you support multiple databases?
Example fails to launch: cannot find type declarations.
pnpm install
)pnpm install kysely nestjs-kysely
)pnpm run start:dev
)src/app.controller.ts:2:30 - error TS2307: Cannot find module 'nestjs-kysely' or its corresponding type declarations.
2 import { InjectKysely } from 'nestjs-kysely';
There is no way to pass plugins
argument to new Kysely()
Please can you update the peer reflect-metadata to version 0.2.1. Would be awesome. @kazu728
When injecting the kysley module with InjectKysely
in NestJS 9 there is a type error:
TS1239: Unable to resolve signature of parameter decorator when called as an expression. Argument of type 'undefined' is not assignable to parameter of type 'string | symbol'.
This seems to be stemming from the fact that when the package is being published, it is being published with NestJS 8 as it's dependency, which results in the wrong typings for the decorator when using it in NestJS 9.
How to perform raw queries like in Kysely?
import { sql } from 'kysely';
const raw = sql`select * from users`;
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.