Skip to content

Write optimized queries in a high level, compositional style

License

Notifications You must be signed in to change notification settings

scala-steward/zio-query

 
 

ZIO Query

Project Stage CI Release Snapshot Discord
Project stage CI Release Artifacts Snapshot Artifacts Badge-Discord

Summary

ZIO Query adds efficient pipelining, batching, and caching to any data source.

ZIO Query helps you dramatically reduce load on data sources and improve performance.

  • Pipelining. ZIO Query detects parts of composite queries that can be combined together for fewer individual requests to the data source.
  • Batching. ZIO Query detects parts of composite queries that can be executed in parallel without changing the semantics of the query.
  • Caching. ZIO Query can transparently cache read queries to minimize the cost of fetching the same item repeatedly in the scope of a query.

Compared with Fetch, ZIO Query supports response types that depend on request types, does not require higher-kinded types and implicits, supports ZIO environment and statically typed errors, and has no dependencies except for ZIO.

Documentation

ZIO Query Microsite

Contributing

Documentation for contributors

Code of Conduct

See the Code of Conduct

Support

Come chat with us on Badge-Discord.

License

License

About

Write optimized queries in a high level, compositional style

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 100.0%