inoas / gleam-cake

A Gleam library to compose SQL queries targeting SQL dialects PostgreSQL, SQLite, MariaDB and MySQL.
https://hex.pm/packages/cake
Mozilla Public License 2.0
52 stars 1 forks source link

Cake SQL Query Builder for Gleam

Package
<a href="https://github.com/inoas/gleam-cake/releases"><img src="https://img.shields.io/github/release/inoas/gleam-cake" alt="GitHub release"></a>
<a href="https://discord.gg/Fm8Pwmy"><img src="https://img.shields.io/discord/768594524158427167?color=blue" alt="Discord chat"></a>
![CI](https://github.com/inoas/gleam-cake/workflows/test/badge.svg?branch=main)
Version Hex Docs Erlang-compatible JavaScript Compatible test



Cake Logo


Cake is a library written in Gleam to compose SQL queries targeting SQL dialects 🐘PostgreSQL, 🪶SQLite, 🦭MariaDB and 🐬MySQL.



Installation

gleam add cake@v1

Further documentation can be found on hexdocs.pm/cake.

Usage

Demos

See docs/demo-apps/README.md.

Code examples (from the demos)