Wrapper for mongoc_database_get_collection().

Allocates a new mongoc_collection_t structure for the collection named name in database.

Property definitions

mongodb $ NativeMongoDb :: collection
	# Wrapper for `mongoc_database_get_collection()`.
	#
	# Allocates a new `mongoc_collection_t` structure for the collection named
	# `name` in database.
	fun collection(name: CString): NativeMongoCollection `{
		return mongoc_database_get_collection(self, name);
	`}
lib/mongodb/native_mongodb.nit:251,2--257,3