Comments (8)
We could try making more sections friendly to other runtime environments, like we did with "Getting Started".
from kysely.
Nice! I'm working on adding migrations to my Deno project so if it works out I might push an update
from kysely.
Hey 👋
Check https://github.com/kysely-org/awesome-kysely/#clis for some community CLIs.
from kysely.
@igalklebanov ohey thank you. I might check them later, I am finding it challenging to set-up deno with Kysely and I think the docs are wrong in some parts.
For example in the migration docs, the module npm:pg
is suggested for Deno (in the sample code for migrations), but this simply doesn't work, it is a Node-only driver.
After some non-trivial amount of searching I found kysely-postgres-js, this actually works with Deno and should be used in the docs instead.
Not sure who updates the docs but that's my 2 cents, it's kind of challenging to use Kysely with Deno based on the docs and it seems that it shouldn't be so, as there are enough pieces to make it work.
from kysely.
For example in the migration docs, the module npm:pg is suggested for Deno (in the sample code for migrations), but this simply doesn't work, it is a Node-only driver.
How do you explain the deno test working with npm:pg
and npm:pg-pool
?
https://github.com/kysely-org/kysely/tree/master/test/deno
Not sure who updates the docs
Careful with that type of language. It may come off as entitled. People update the docs, on their spare time. PRs are always welcome.
from kysely.
Careful with that type of language. It may come off as entitled.
Why? I feel like you are tone policing my message. I simply don't know, it is fact.
from kysely.
How do you explain the deno test working with npm:pg and npm:pg-pool?
Oh yeah, this simplified example did work on my machine. Thanks. I must have typed something wrong from copying the sample code here:
https://www.kysely.dev/docs/migrations#running-migrations
E.g. Database
is not in scope, and the code is geared at NodeJS (deno now supports node:fs
for example, which I didn't get working quite right in my machine).
from kysely.
😁
from kysely.
Related Issues (20)
- Invalid object name upon inserting value into temp table in mssql HOT 3
- Type Error for BLOB columns when using D1 Databases HOT 1
- [Question] best way to create reusable type-aware filters HOT 2
- Calling Migrator.migrateToLast() exits process HOT 2
- Add an AlterTypeBuilder
- where with sql complains about Property 'isSelectQueryBuilder' is missing HOT 1
- Improvement of lateral support HOT 2
- Migrations can be modified without notice HOT 3
- Incorrect type when using left join and json agg (postgres) HOT 3
- Also publish to JSR?
- Large offsets are converted to scientific notation HOT 1
- Documentation for UpdateResult HOT 1
- OnConflict update all Fields HOT 6
- Inserting large number of rows leads to exec_bind_message error in postgres HOT 1
- Question about a generic getById HOT 2
- May anyone help me with the short version of selectAll type? HOT 1
- RuntimeDriver is not exported
- `SELECT` in SQL template tag has parens around it, making it invalid in some contexts in SQLite HOT 2
- Are there any plans to support mikro-orm? HOT 2
- Support for Postgres ?| operator (do any of these array strings exist as top-level keys)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kysely.