Wrapper for mongoc_client_get_database().

Get a newly allocated mongoc_database_t for the database named name.

Database are automatically created on the MongoDB server upon insertion of the first document into a collection. There is no need to create a database manually.

Property definitions

mongodb $ NativeMongoDb :: new
	# Wrapper for `mongoc_client_get_database()`.
	#
	# Get a newly allocated `mongoc_database_t` for the database named name.
	#
	# Database are automatically created on the MongoDB server upon insertion of
	# the first document into a collection.
	# There is no need to create a database manually.
	new(client: NativeMongoClient, db_name: CString) `{
		return mongoc_client_get_database(client, db_name);
	`}
lib/mongodb/native_mongodb.nit:225,2--234,3