Current section
Files
Jump to
Current section
Files
src/postgleam@result.erl
-module(postgleam@result).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/postgleam/result.gleam").
-export_type([command/0, query_result/0]).
-type command() :: select |
insert |
update |
delete |
create |
drop |
alter |
'begin' |
commit |
rollback |
savepoint |
release |
copy |
move |
fetch |
set |
discard |
reset |
listen |
unlisten |
notify |
{other, binary()}.
-type query_result() :: {query_result,
command(),
list(binary()),
gleam@option:option(list(list(binary()))),
integer(),
gleam@option:option(integer())}.