Moebius
v4.1.1
Pages
Modules
Mix
Tasks
Search documentation of Moebius
Settings
View Source
Moebius.Db
(Moebius v4.1.1)
Summary
Functions
all(table)
See
Moebius.Db.run/1
.
child_spec(arg)
create_document_table(name)
create_document_table(cmd, _)
find(cmd, id)
first(cmd)
one(table)
See
Moebius.Db.first/1
.
prepare_extensions(opts)
run(sql)
run(sql, params)
run(sql, conn, params)
run_batch(batch)
save(cmd, doc)
save(cmd, doc, conn)
start_link(opts)
transact_batch(batch)
transaction(fun)
Functions
Link to this function
all(table)
View Source
See
Moebius.Db.run/1
.
Link to this function
child_spec(arg)
View Source
Link to this function
create_document_table(name)
View Source
Link to this function
create_document_table(cmd, _)
View Source
Link to this function
find(cmd, id)
View Source
Link to this function
first(cmd)
View Source
Link to this function
one(table)
View Source
See
Moebius.Db.first/1
.
Link to this function
prepare_extensions(opts)
View Source
Link to this function
run(sql)
View Source
Link to this function
run(sql, params)
View Source
Link to this function
run(sql, conn, params)
View Source
Link to this function
run_batch(batch)
View Source
Link to this function
save(cmd, doc)
View Source
Link to this function
save(cmd, doc, conn)
View Source
Link to this function
start_link(opts)
View Source
Link to this function
transact_batch(batch)
View Source
Link to this function
transaction(fun)
View Source