Mongodb
v1.0.1
v1.0.0
v1.0.0-beta.1
v0.5.1
v0.5.0
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.2
v0.4.1
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.1
v0.1.0
Pages
Modules
BSON
Top
Summary
Types
document/0
t/0
Functions
decode/1
encode/1
BSON.Binary
Top
Summary
Types
t/0
BSON.Decimal128
Top
Summary
Functions
decode/1
encode/1
BSON.JavaScript
Top
Summary
Types
t/0
BSON.ObjectId
Top
Summary
Types
t/0
Functions
decode!/1
encode!/1
new/4
BSON.Regex
Top
Summary
Types
t/0
BSON.Timestamp
Top
Summary
Types
t/0
Mongo
Top
Sections
Generic options
Read options
Write options
Summary
Types
collection/0
conn/0
cursor/0
initial_type/0
result/1
result!/1
write_result/1
Functions
aggregate/4
child_spec/2
command/3
command!/3
count_documents/4
count_documents!/4
create_indexes/4
delete/4
delete_many/4
delete_many!/4
delete_one/4
delete_one!/4
distinct/5
distinct!/5
drop_index/4
estimated_document_count/3
estimated_document_count!/3
find/4
find_one/4
find_one_and_delete/4
find_one_and_replace/5
find_one_and_update/5
insert_many/4
insert_many!/4
insert_one/4
insert_one!/4
list_index_names/3
list_indexes/3
object_id/0
replace_one/5
replace_one!/5
select_server/3
show_collections/2
start_link/1
start_session/2
update/4
update_many/5
update_many!/5
update_one/5
update_one!/5
with_session/3
Mongo.CreateIndexesResult
Top
Summary
Types
t/0
Mongo.DeleteResult
Top
Summary
Types
t/0
Mongo.DropIndexResult
Top
Summary
Types
t/0
Mongo.Encoder
Top
Summary
Types
t/0
Functions
encode/1
Mongo.Events
Top
Mongo.FindAndModifyResult
Top
Summary
Types
t/0
Mongo.GridFs.Bucket
Top
Summary
Types
t/0
Functions
chunks_collection_name/1
delete/2
drop/1
files_collection_name/1
find/3
find_one/2
new/2
rename/3
Mongo.GridFs.Download
Top
Summary
Types
result/0
Functions
find_and_stream/2
find_one_file/2
open_download_stream/2
Mongo.GridFs.Upload
Top
Summary
Functions
open_upload_stream/3
Mongo.GridFs.UploadStream
Top
Sections
Example:
Summary
Types
t/0
Functions
new/3
Mongo.InsertManyResult
Top
Summary
Types
t/0
Mongo.InsertOneResult
Top
Summary
Types
t/0
Mongo.PBKDF2
Top
Summary
Functions
generate/3
Mongo.ReadPreference
Top
Summary
Types
t/0
Functions
defaults/1
Mongo.Session
Top
Summary
Types
session/0
Functions
abort_transaction/1
commit_transaction/1
end_session/1
ended?/1
start_transaction/2
with_transaction/3
Mongo.SessionPool
Top
Summary
Functions
checkin/3
checkout/3
child_spec/1
start_link/1
Mongo.UpdateResult
Top
Summary
Types
t/0
Mongo.UrlParser
Top
Summary
Functions
parse_url/1
Exceptions
Mongo.Error
Top
Summary
Types
t/0
Functions
retryable/1
Mongo.WriteError
Top
Summary
Types
t/0
Functions
message/1
Mongo.SessionPool
(Mongodb v1.0.1)
View Source
Link to this section
Summary
Functions
checkin(pool \\ Mongo.SessionPool, id, txn)
checkout(pool \\ Mongo.SessionPool, conn, opts)
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
start_link(opts)
Link to this section
Functions
Link to this function
checkin(pool \\ Mongo.SessionPool, id, txn)
View Source
Link to this function
checkout(pool \\ Mongo.SessionPool, conn, opts)
View Source
Link to this function
child_spec(init_arg)
View Source
Returns a specification to start this module under a supervisor.
See
Supervisor
.
Link to this function
start_link(opts)
View Source
×