Skip to content

Add a brief explanation on how SQLx works under the hood to the readme #572

Closed

Description

@jplatte

This would be helpful to set expectations about what SQLx can and can't do, in addition to simply being interesting :)

Having a separate markdown file in the repo root instead of a README.md section could also work well, in particular if the brief explanation ends up not being so brief.

Activity

  1. abonander commented on Jul 27, 2020

    @abonander
    Collaborator

    We should also have a big headline:

    SQLx is not an ORM!

  2. chriskyndrid commented on May 30, 2021

    @chriskyndrid

    This would be great. I realize SQLx isn't an ORM, but there seems to be a ton of issues relating to inquires on it having ORM functionality. I see "ormx" mentioned. Perhaps mentioning a "possible" ORM solutions section that references a few packages that interop with SQLx could be beneficial to addressing questions for newcomers. Personally, I have never been evangelical about the use of ORM's and have spent many hours debugging ORM problems with generated SQL over the years, but, I do find them useful for simple CRUD operations, mapping, etc.

    I think the most robust ORM I've observed that works with sqlx (uses sqlx-core) is rbatis.

    Thanks for all the work on the excellent package that SQLx is!

  3. jplatte commented on May 30, 2021

    @jplatte
    ContributorAuthor

    Working on a PR...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions