Git Product home page Git Product logo

Comments (4)

mertalev avatar mertalev commented on June 9, 2024 1

Prisma is split between a JS client and a Rust query engine. The client passes the JS options to the engine, which builds the query, sends it and transforms the response for JS.

The engine and development guide is here. They also have a more high-level explanation of the engine here.

They have experimental support for e.g. PostGIS, so it might help to look at how that was implemented.

Edit: Hmm, it looks like they just support having the PostGIS extension, but don't support the actual index or data type based on this issue.

from pgvecto.rs.

mertalev avatar mertalev commented on June 9, 2024

Would integration with ORMs be within scope for this? We're working on moving to Prisma for Node.js, but the lack of support for the vector type makes it hard to work with (related).

from pgvecto.rs.

VoVAllen avatar VoVAllen commented on June 9, 2024

@mertalev We're interested but lacks of knowledge with that so far. The error message seems related to rust but I didn't see any rust file in prisma. Is there any development guide we can look at for custom type?

from pgvecto.rs.

mertalev avatar mertalev commented on June 9, 2024

Probably the most helpful resource is this PR that adds PostGIS types. It's massive, though, so I'm not sure how big an undertaking this would be.

from pgvecto.rs.

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.