Glider
Loading...
Searching...
No Matches
src.importer.MongoConnection.mongo_connection Class Reference

Public Member Functions

 __init__ (self)
 
 mongo_conn_sales (self)
 
 mongo_conn_catalogue (self)
 
 mongo_conn_catalogue_gen (self)
 
 mongo_conn_snapshots (self)
 
 mongo_conn_formats (self)
 
 mongo_conn_ftp (self)
 
 mongo_conn (self)
 

Detailed Description

Makes mongo connection and depending of case, returns the right collection

Definition at line 8 of file MongoConnection.py.

Constructor & Destructor Documentation

◆ __init__()

src.importer.MongoConnection.mongo_connection.__init__ ( self)

Definition at line 12 of file MongoConnection.py.

Member Function Documentation

◆ mongo_conn()

src.importer.MongoConnection.mongo_connection.mongo_conn ( self)
Connect with the main MongoDB database

Args:
    None
Returns client (mongo client)

Definition at line 117 of file MongoConnection.py.

Here is the caller graph for this function:

◆ mongo_conn_catalogue()

src.importer.MongoConnection.mongo_connection.mongo_conn_catalogue ( self)
Connect with catalogue collection

Args:
    None
Returns catalogue_collection (str)

Definition at line 32 of file MongoConnection.py.

Here is the call graph for this function:

◆ mongo_conn_catalogue_gen()

src.importer.MongoConnection.mongo_connection.mongo_conn_catalogue_gen ( self)
Connect with catalogue collection

Args:
    None
Returns catalogue_collection (str)

Definition at line 49 of file MongoConnection.py.

Here is the call graph for this function:

◆ mongo_conn_formats()

src.importer.MongoConnection.mongo_connection.mongo_conn_formats ( self)
Connect with formats collection

Args:
    None
Returns collection (str)

Definition at line 83 of file MongoConnection.py.

Here is the call graph for this function:

◆ mongo_conn_ftp()

src.importer.MongoConnection.mongo_connection.mongo_conn_ftp ( self)
Connect with ftp collection

Args:
    None
Returns collection (str)

Definition at line 100 of file MongoConnection.py.

Here is the call graph for this function:

◆ mongo_conn_sales()

src.importer.MongoConnection.mongo_connection.mongo_conn_sales ( self)
Connect with sales collection

Args:
    None
Returns collection (str)

Definition at line 15 of file MongoConnection.py.

◆ mongo_conn_snapshots()

src.importer.MongoConnection.mongo_connection.mongo_conn_snapshots ( self)
Connect with snapshots collection

Args:
    None
Returns collection (str)

Definition at line 66 of file MongoConnection.py.

Here is the call graph for this function:

The documentation for this class was generated from the following file: