An open API service indexing awesome lists of open source software.

https://github.com/zio-archive/zio-jdbc

A small, idiomatic ZIO interface to JDBC.
https://github.com/zio-archive/zio-jdbc

Last synced: 6 months ago
JSON representation

A small, idiomatic ZIO interface to JDBC.

Awesome Lists containing this project

README

          

[//]: # (This file was autogenerated using `zio-sbt-website` plugin via `sbt generateReadme` command.)
[//]: # (So please do not edit it manually. Instead, change "docs/index.md" file or sbt setting keys)
[//]: # (e.g. "readmeDocumentation" and "readmeSupport".)

# ZIO JDBC

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

[![Research](https://img.shields.io/badge/Project%20Stage-Research-yellow.svg)](https://github.com/zio/zio/wiki/Project-Stages) ![CI Badge](https://github.com/zio/zio-jdbc/workflows/CI/badge.svg) [![Sonatype Releases](https://img.shields.io/nexus/r/https/oss.sonatype.org/dev.zio/zio-jdbc_2.13.svg?label=Sonatype%20Release)](https://oss.sonatype.org/content/repositories/releases/dev/zio/zio-jdbc_2.13/) [![Sonatype Snapshots](https://img.shields.io/nexus/s/https/oss.sonatype.org/dev.zio/zio-jdbc_2.13.svg?label=Sonatype%20Snapshot)](https://oss.sonatype.org/content/repositories/snapshots/dev/zio/zio-jdbc_2.13/) [![javadoc](https://javadoc.io/badge2/dev.zio/zio-jdbc-docs_2.13/javadoc.svg)](https://javadoc.io/doc/dev.zio/zio-jdbc-docs_2.13) [![ZIO JDBC](https://img.shields.io/github/stars/zio/zio-jdbc?style=social)](https://github.com/zio/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](https://zio.dev/zio-jdbc/)!

## Contributing

For the general guidelines, see ZIO [contributor's guide](https://zio.dev/contributor-guidelines).

## Code of Conduct

See the [Code of Conduct](https://zio.dev/code-of-conduct)

## Support

Come chat with us on [![Badge-Discord]][Link-Discord].

[Badge-Discord]: https://img.shields.io/discord/629491597070827530?logo=discord "chat on discord"
[Link-Discord]: https://discord.gg/2ccFBr4 "Discord"

## License

[License](LICENSE)