MongoDatabase.fsync

Performs a filesystem/disk sync of the database on the server.

This method can only be called on the admin database.

See http://www.mongodb.org/display/DOCS/fsync+Command

struct MongoDatabase
@safe
fsync
(
bool async = false
)

Return Value

Type: Bson

check documentation

Meta