Prechádzať zdrojové kódy

add function get mongo names and get internal names to parseMapping

tsteuer 5 rokov pred
rodič
commit
5db7bf63c6
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  1. 10 0
      cdplib/db_migration/ParseMapping.py

+ 10 - 0
cdplib/db_migration/ParseMapping.py

@@ -97,6 +97,16 @@ class ParseMapping:
         '''
         '''
         return self._get_info(key="date_format")
+    
+    def get_internal_names(self) -> dict:
+        '''
+        '''
+        return self._get_info(key="internal_name")
+
+    def get_mongo_names(self) -> dict:
+        '''
+        '''
+        return self._get_info(key="mongo_name")
 
     def get_types(self) -> dict:
         '''