Skip to content
Thomas Hirsch edited this page Jul 17, 2014 · 5 revisions

DBCollection Functions

A quick list made from dumping the javadoc of DBCollection. Many of these functions may not be relevant to the persister.

Function title Implemented?
addOption
aggregate TODO
apply
count done
createIndex
distinct TODO
doapply
drop done
dropIndex
ensureIndex TODO this is useful to have MongoDB clean up old data, see http://docs.mongodb.org/manual/reference/method/db.collection.ensureIndex/ Options#expireAfterSeconds
explainAggregate
find done
findAndModify done
findAndRemove
findOne done
getCount
getFullName
getIndexInfo
getName
getObjectClass
getOptions
getReadPreference
getStats done
getWriteConcern
group
insert TODO
isCapped
mapReduce
parallelScan
remove done
rename
resetOptions
save done
setHintFields
setInternalClass
setObjectClass
setOptions
setReadPreference
setWriteConcern
update done
updateMulti

DB Functions

A quick list made from dumping the javadoc of DB. Many of these functions may not be relevant to the persister.

Function title Implemented?
addOption
collectionExists
command done
createCollection
doEval
dropDatabase
eval
getCollectionNames done
getName
getOptions
getReadPreference
getSisterDB
getStats
getWriteConcern
resetOptions
setOptions
setReadPreference
setWriteConcern
Clone this wiki locally