from .. import db_connection
    
import argparse


def add_to_pool(number,detail,conn):

    #conn = db_connection.get_connection()
    mycursor = conn.cursor()
    SQL_QUERY="INSERT INTO authenticated_pool ( random_number , details ) VALUES (%s, %s)"
    val = (number,detail)
    mycursor.execute(SQL_QUERY, val)
    conn.commit()
    

