def fake2db_mongodb_initiator(self, host, port, number_of_rows, name=None, custom=None):
        '''Main handler for the operation
        '''
        rows = number_of_rows
        db = self.database_caller_creator(host, port, name)

        if custom:
            self.custom_db_creator(rows, db, custom)
            sys.exit(0)
            
        self.data_filler_simple_registration(rows, db)
        self.data_filler_detailed_registration(rows, db)
        self.data_filler_company(rows, db)
        self.data_filler_user_agent(rows, db)
        self.data_filler_customer(rows, db)
def fake2db_mongodb_initiator ( self , host , port , number_of_rows , name = None , custom = None ) : rows = number_of_rows db = self . database_caller_creator ( host , port , name ) if custom : self . custom_db_creator ( rows , db , custom ) sys . exit ( 0 ) self . data_filler_simple_registration ( rows , db ) self . data_filler_detailed_registration ( rows , db ) self . data_filler_company ( rows , db ) self . data_filler_user_agent ( rows , db ) self . data_filler_customer ( rows , db )
Main handler for the operation