crabfit/api/adaptors/sql
2023-05-15 23:51:12 +10:00
..
src Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00
Cargo.toml Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00
README.md Include documentation for API and subcrates 2023-05-15 23:51:12 +10:00

SQL Adaptor

This adaptor works with Postgres, MySQL or SQLite databases.

Environment

To use this adaptor, make sure you have the DATABASE_URL environment variable set to the database url for your chosen database.

Example:

DATABASE_URL="postgresql://username:password@localhost:5432/crabfit"