Cake SQL Query Builder for Gleam
Cake is a library written in Gleam to compose SQL queries targeting SQL dialects PostgreSQL, SQLite, MariaDB and MySQL.
While the primary use case is to run queries on servers, this library runs on any Gleam target and for example in conjunction with sqlite3 WASM/JS you may run queries composed with this library in browsers.
gleam add cake
Further documentation can be found at https://hexdocs.pm/cake.
Examples
See Cake’s tests.
Development
Helper commands:
bin/run-watchexec
bin/test
bin/glacier
bin/birdie/interactive-review
bin/birdie/accept-all
bin/birdie/reject-all
Library naming
The best part of working with CakePHP 3+ used to be its Query Builder. This library is inspired by that and thus the name.
Thank you @lorenzo and @markstory for creating and maintaining CakePHP and its awesome query builder over the years.