Examples

The repository contains a few examples to get you going.

  • The basic example showcases the basic workflow with simple queries. This example is available in both sync and async versions.
  • The automatic query build example showcases how to integrate Cornucopia's API inside a build script to automatically rebuild your Rust queries when your PostgreSQL queries change.