X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_common%2Fdbmemory.py;fp=osm_common%2Fdbmemory.py;h=196d5d96283a47dde1a9f986a05c10b02fdae349;hb=2c9794c5dc468baabe99b2f934e4bdb32e98ce54;hp=d3b401934b108bbe7f463e50ec96efa88435e889;hpb=70911f00b815917f2fd0946caa36c1bbc88e890e;p=osm%2Fcommon.git diff --git a/osm_common/dbmemory.py b/osm_common/dbmemory.py index d3b4019..196d5d9 100644 --- a/osm_common/dbmemory.py +++ b/osm_common/dbmemory.py @@ -414,7 +414,7 @@ class DbMemory(DbBase): Add a new entry at database :param table: collection or table :param indata: content to be added - :return: database id of the inserted element. Raises a DbException on error + :return: database '_id' of the inserted element. Raises a DbException on error """ try: id = indata.get("_id") @@ -434,7 +434,7 @@ class DbMemory(DbBase): Add a new entry at database :param table: collection or table :param indata_list: list content to be added - :return: database ids of the inserted element. Raises a DbException on error + :return: list of inserted 'id's. Raises a DbException on error """ try: _ids = []