def get_all_concentrations(self, projection={'_id': 0, 'inchi': 1, 'inchikey': 1, 'smiles': 1, 'name': 1}):
    "Get all entries that have concentration values\n        \n        Args:\n            projection (dict, optional): mongodb query projection. Defaults to {'_id': 0, 'inchi': 1,'inchikey': 1, 'smiles': 1, 'name': 1}.\n\n        Returns:\n            (list): all results that meet the constraint.\n        "
    result = []
    query = {'concentrations': {'$ne': None}}
    docs = self.collection.find(filter=query, projection=projection)
    for doc in docs:
        result.append(doc)
    return result
Get all entries that have concentration values

Args:
    projection (dict, optional): mongodb query projection. Defaults to {'_id': 0, 'inchi': 1,'inchikey': 1, 'smiles': 1, 'name': 1}.

Returns:
    (list): all results that meet the constraint.
def get_all_concentrations(self, projection={'_id': 0, 'inchi': 1, 'inchikey': 1, 'smiles': 1, 'name': 1}):
    "Get all entries that have concentration values\n        \n        Args:\n            projection (dict, optional): mongodb query projection. Defaults to {'_id': 0, 'inchi': 1,'inchikey': 1, 'smiles': 1, 'name': 1}.\n\n        Returns:\n            (list): all results that meet the constraint.\n        "
    result = []
    query = {'concentrations': {'$ne': None}}
    docs = self.collection.find(filter=query, projection=projection)
    for doc in docs:
        result.append(doc)
    return result