Giter Club home page Giter Club logo

Comments (8)

igalklebanov avatar igalklebanov commented on May 25, 2024 1

We could try making more sections friendly to other runtime environments, like we did with "Getting Started".

from kysely.

Sleepful avatar Sleepful commented on May 25, 2024 1

Nice! I'm working on adding migrations to my Deno project so if it works out I might push an update

from kysely.

igalklebanov avatar igalklebanov commented on May 25, 2024

Hey 👋

Check https://github.com/kysely-org/awesome-kysely/#clis for some community CLIs.

from kysely.

Sleepful avatar Sleepful commented on May 25, 2024

@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.

igalklebanov avatar igalklebanov commented on May 25, 2024

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.

Sleepful avatar Sleepful commented on May 25, 2024

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.

Sleepful avatar Sleepful commented on May 25, 2024

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.

Sleepful avatar Sleepful commented on May 25, 2024

😁

from kysely.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.