GithubHelp home page GithubHelp logo

Postgres support about sea-orm HOT 5 CLOSED

seaql avatar seaql commented on May 16, 2024 1
Postgres support

from sea-orm.

Comments (5)

tqwewe avatar tqwewe commented on May 16, 2024 2

I solved my issue. I was using postgresql:// as the schema.. it should've been postgres://

from sea-orm.

tqwewe avatar tqwewe commented on May 16, 2024

Any idea how this might be implemented to support async? Will it be a wrapper around tokio-postgres perhaps?

from sea-orm.

tyt2y3 avatar tyt2y3 commented on May 16, 2024

Yes. it is possible to wrap around tokio-postgres. But our first target is SQLx (It supports async-std in additional to tokio). Any reason that SQLx would not suit your need?

from sea-orm.

tqwewe avatar tqwewe commented on May 16, 2024

No particular reason actually, I haven't actually used SQLx befoe but it seems very popular and mature so that sounds fine!

from sea-orm.

tqwewe avatar tqwewe commented on May 16, 2024

I'm having trouble connecting to a postgres database. I have the sqlx-postgres flag enabled, but I receive the error:

Error: Connection Error: The connection string 'postgresql://user:[email protected]:5432/postgres' has no supporting driver.

from sea-orm.

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.