Hacker GitHub

← All repos

diesel-rs/diesel

View on GitHub ↗ ★ 14,221 Rust

A safe, extensible ORM and Query Builder for Rust

25 mentions on Hacker News by 21 people: 4 stories, 21 comments · first 2016-04-19 · latest 2025-07-28

Mentions per year 25 mentions · busiest year 2017 (5)
20082026
  1. …[2] https://crates.io/crates/rusqlite [3] https://www.sea-ql.org/SeaORM/ [4] https://github.com/diesel-rs/diesel/issues/2078 [5] https://github.com/diesel-rs/diesel/issues/1728 [6] https://github.com/diesel-rs/diesel/discussions/4160 [
    comment by no_circuit · 2025-07-28 · in SQLx – Rust SQL Toolkit
  2. …loading is being done. Diesel hasn't been providing an async API for reason told in this thread: https://github.com/diesel-rs/diesel/issues/399 The situation might change some day though, once async support in the core language and…
    comment by GolDDranks · 2024-10-26 · in Toasty, an async ORM for Rust
  3. …Sqlite and Postgres which can easily execute raw queries but is likely overkill for what you need? https://github.com/diesel-rs/diesel
  4. …integration tests on Bazel used to be difficult. Ultimately I've found an elegant solution: https://github.com/diesel-rs/diesel/blob/master/examples/pos... The parallel testing with dangling transactions isn't Diesel or Postgres specific.…
    comment by marvin-hansen · 2024-09-11 · in Rust in illumos
  5. …it is an ORM (I've not used Diesel yet): >Diesel: A safe, extensible ORM and Query Builder for Rust https://github.com/diesel-rs/diesel
    comment by kevthecoder · 2024-05-13 · in Did GitHub Copilot increase my productivity?
  6. …the lacking dev experience. I'm happy to discuss these issues and potential solutions there. [1] https://github.com/diesel-rs/diesel/discussions
    comment by weiznich · 2023-03-21 · in Why use Rust on the back end?
  7. …Slick [3] (Scala) and some similar Haskell projects. [1] https://github.com/launchbadge/sqlx [2] https://github.com/diesel-rs/diesel [3] https://scala-slick.org/
  8. …been writing a lot of Rust lately, and started providing both after their big relicensing push: https://github.com/diesel-rs/diesel/issues/82
  9. Your friend was probably talking about Diesel migrations: https://github.com/diesel-rs/diesel
    comment by thaunatos · 2019-12-10 · in Refinery: SQL Migration Toolkit for Rust
  10. …it for existing DBs or projects that you know will grow large (eg 100+ column tables etc). [1] https://github.com/diesel-rs/diesel
  11. …also work, but the client needs to use deterministic names and rescue if the query isn’t prepared: https://github.com/diesel-rs/diesel/issues/1028#issuecomment...
    comment by jashmatthews · 2019-02-26 · in MySQL Challenge: 100k Connections
  12. https://github.com/diesel-rs/diesel This type checks all ORM operations, and type checks against the actual schema at compile time. It's pretty cool and made by one of the long-time developers of ActiveRecord.
    comment by sdfasdslk · 2019-01-22 · in Why We Chose Rails to Build Gitlab
  13. …single phase prepared statements work with PgBouncer, believe the Diesel maintainer, Sean Griffin: https://github.com/diesel-rs/diesel/issues/1028 I'm back to working in Rust again and plan on opening a PR to resolve this issue.
  14. …integration test: have a test subproject and set up the database in it's custom compilation script. https://github.com/diesel-rs/diesel/tree/master/diesel_tests Now, every time I alter application code and/or SQL migrations, I immediately…
  15. …or remember incorrectly? [1]: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast... [2]: https://github.com/diesel-rs/diesel/issues/399 [3]: https://crates.io/crates/postgres
  16. Oh yeah, I remember thanks to ActiveSupport::Inflector, heh. Yes: https://github.com/diesel-rs/diesel/blob/e52d1710d98a05c3aa4... But it also converts CamelCase to snake_case: https://github.com/diesel-rs/diesel/blob/e52d1710d98a05c3aa4...
    comment by steveklabnik · 2017-08-02 · in Grokking Diesel, Rust's ORM
  17. There are some details in https://github.com/diesel-rs/diesel/pull/747
    comment by killercup · 2017-08-02 · in Grokking Diesel, Rust's ORM
  18. …planning on having Diesel primarily built around parsing actual SQL. (See the commit message of https://github.com/diesel-rs/diesel/commit/2ba8bf481c3d21d8b... , which is like commit number 4) I agree that if you're just writing a single…
    comment by rabidferret · 2017-08-02 · in Grokking Diesel, Rust's ORM
  19. …weapon’ or ‘unofficial guide’ (according to me) is the the test suite in the official repo ( https://github.com/diesel-rs/diesel/tree/master/diesel_tests ). The tests are indeed informative, and give a good idea of how it would be used in…
    comment by kbenson · 2017-08-02 · in Grokking Diesel, Rust's ORM
  20. …to the entire catalogue of episodes. - 0: https://thebikeshed.fm - 1: https://githib.com/sgrif - 2: https://github.com/diesel-rs/diesel
  21. …can always override your ORM methods with more efficient hand-coded SQL. Right? Relevant GitHub PR: https://github.com/diesel-rs/diesel/pull/283 -- Diesel's query builder is often faster than a raw SQL string, and the queries are…
    comment by dikaiosune · 2016-06-10 · in ORM is an anti-pattern (2011)