zio / zio-jdbc   0.1.2

Apache License 2.0 GitHub

A small, idiomatic ZIO interface to JDBC.

Scala versions: 3.x 2.13 2.12

ZIO JDBC

ZIO JDBC is a ZIO library for JDBC access, providing a small, unopinionated, and ergonomic foundation for directly interacting with JDBC.

Research CI Badge Sonatype Releases Sonatype Snapshots javadoc ZIO JDBC

  • Idiomatic ZIO 2.0 interface to JDBC
  • Secure, with protection against SQL-injection
  • Fully integrated with core libraries including ZIO Schema, ZIO Config, ZIO Logging

ZIO JDBC provides the following components:

  • A SQL interpolator to prevent SQL injection attacks
  • A connection pool powered by ZIO's async, resource-safe pool
  • Lightweight decoding values from result sets
  • Lightweight encoding values into SQL fragments for INSERT
  • Integration with ZIO Schema, ZIO Config, and ZIO Logging
  • Built-in metrics

Documentation

Learn more on the ZIO JDBC homepage!

Contributing

For the general guidelines, see ZIO contributor's guide.

Code of Conduct

See the Code of Conduct

Support

Come chat with us on Badge-Discord.

License

License