Packages

🎂Cake 🦭MariaDB and 🐬MySQL adapters which pass PreparedStatements to the shork library for execution written in Gleam.

Current section

Files

Jump to
cake_shork src cake_shork.erl
Raw

src/cake_shork.erl

-module(cake_shork).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/cake_shork.gleam").
-export([main/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
-file("src/cake_shork.gleam", 6).
?DOC(false).
-spec main() -> nil.
main() ->
_pipe = (<<"\n"/utf8,
"cake_shork is an adapter library and cannot be invoked directly."/utf8>>),
gleam_stdlib:println(_pipe).