Wrapper for mongoc_database_drop().

This function attempts to drop a database on the MongoDB server.

Property definitions

mongodb $ NativeMongoDb :: drop
	# Wrapper for `mongoc_database_drop()`.
	#
	# This function attempts to drop a database on the MongoDB server.
	fun drop: Bool import set_mongoc_error `{
		bson_error_t error;
		if(!mongoc_database_drop(self, &error)) {
			NativeMongoDb_set_mongoc_error(self, &error);
			return false;
		}
		return true;
	`}
lib/mongodb/native_mongodb.nit:272,2--282,3