Example #1
0
def update_child(row_values, client_id):
    lst = ["Age", "Type_Of_Care"]
    table = "Child"
    prim = "(Client_Unique_ID_Value, Child)"
    if (database_methods.check_id(client_id, 'client_data.db', "Client",
                                  "Unique_ID_Value")):
        insert_general.update_child(row_values, client_id, lst, table, prim, 1,
                                    47, 56)
def insert_child(row_values, id_value):
    lst = ["Age", "Type_Of_Care"]
    table = "Child"
    prim = "(Client_Unique_ID_Value, Child)"
    insert_general.update_child(row_values, id_value, lst, table, prim, 1, 70,
                                79)