#postgresql #response #query #back #build #execute #ciboulette

ciboulette2pg

Library to execute Ciboulette query to Postgres and build responses back

4 releases

0.1.3 May 13, 2021
0.1.2 May 13, 2021
0.1.1 May 2, 2021
0.1.0 May 2, 2021

#1742 in Database interfaces

29 downloads per month
Used in basiliq

MIT/Apache

255KB
6K SLoC

Ciboulette2Pg

Ciboulette requests to Postgres queries and back

See the documentation

Testing

To test this crate, you need to start a Postgres database and export the DATABASE_URL environment variable.

You can use the provided docker-compose plan

# To start the test database
docker-compose -f docker-compose.testing.yml up -d

# Don't forget to set the environment variable
export DATABASE_URL="postgres://postgres:postgres@localhost/postgres"

# Run the tests
cargo test

# To stop the test database
docker-compose -f docker-compose.testing.yml down -v

Dependencies

~23–33MB
~623K SLoC