Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jplatte opened this issue Jul 27, 2020 · 3 comments · Fixed by #1262
Closed

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

jplatte opened this issue Jul 27, 2020 · 3 comments · Fixed by #1262

Comments

@jplatte
Copy link
Contributor

jplatte commented Jul 27, 2020

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.

@abonander
Copy link
Collaborator

We should also have a big headline:

SQLx is not an ORM!

@chriskyndrid
Copy link

chriskyndrid commented May 30, 2021

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!

@jplatte
Copy link
Contributor Author

jplatte commented May 30, 2021

Working on a PR...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants