Packages
cake
0.9.0
4.1.0
4.0.0
3.0.0
2.2.2
2.2.1
2.2.0
2.1.3
2.1.2
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
1.0.0-rc.0
retired
0.15.0
retired
0.14.0
retired
0.13.0
retired
0.12.0
retired
0.11.0
retired
0.10.1
retired
0.10.0
retired
0.9.2
retired
0.9.1
retired
0.9.0
retired
0.8.0
retired
0.7.0
retired
0.6.0
retired
0.5.0
retired
0.4.0
retired
0.3.0
retired
0.2.0
retired
0.1.0
retired
0.0.1
retired
🎂 An SQL query builder for Gleam for SQL dialects 🐘PostgreSQL, 🪶SQLite, 🦭MariaDB, and 🐬MySQL
Retired package: Deprecated - a stable release is available, please use >= 1.0.0
Current section
Files
Jump to
Current section
Files
src/cake.gleam
//// *Cake* is an SQL query building library for RDBMS:
////
//// - PostgreSQL
//// - SQLite
//// - MariaDB
//// - MySQL
////
//// For examples see the tests.
////
import gleam/io
/// As a library *Cake* cannot be invoked directly in a meaningful way.
///
pub fn main() {
{
"\n"
<> "cake is a query building library and cannot be invoked directly."
<> "\n"
<> "For demos see the tests."
}
|> io.println
}
// TODO v3
// pub fn table_exists(connection conn: Connection, table_name tbl_nm: String) -> Boolean {
// todo
// }
//
// pub fn tables_exists(connection conn: Connection, table_names tbl_nms: List(String)) -> List(#(String, Boolean)) {
// todo
// }
//
// pub fn view_exists(connection conn: Connection, view_name vw_nm: String) -> Boolean {
// todo
// }
//
// pub fn views_exists(connection conn: Connection, view_names vw_nms: List(String)) -> List(#(String, Boolean)) {
// todo
// }