Skip to content

pgorm-rs/pgorm

Repository files navigation

pgorm

A fork of pgorm focused entirely on Postgres support.

Primary differences with SeaORM

  • Supports ONLY Postgres
  • Uses deadpool for the database pool
  • Uses tokio-postgres for the Postgres engine (i.e. no sqlx functionality)
  • Support for using pgparse to validate syntactic validity of SQL strings
  • More effective use of statements (you pass the arguments with the statement so it is prepared properly)
  • All Postgres-specific functionality is expected to be present
  • Significant performance and stability gains
  • Significantly simplified migration experience
  • Scoped transactions
  • Improved debugging
  • From<...> implementation for ActiveValue fields (less ActiveValue::Set(...), more .into())
  • pgorm-query (fork of sea-query) is in-tree and all non-Postgres functionality is removed
  • Failsafe behaviour for insert_many on an empty iterator

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 203