def query2(): print("dealing with query2...........") search = request.args.get('search') minReviews = int(request.args.get('minReviews')) result = query.query2(search, minReviews) return jsonify(result)
def query2(): search = request.args.get('search') minReviews = int(request.args.get('minReviews')) result = query.query2(search, minReviews) return jsonify(result)
query1(0, 35, 40, 0, 0, 0, 0, 5, 10, 0, 0, 0, 0, 0, 0, 1, 2, 10) print() print('10+ rebounds') query1(0, 0, 0, 0, 10, 30, 1, 10, 30, 0, 0, 0, 0, 0, 0, 0, 3, 5) print() print('10+ points & 10+ rebounds') query1(0, 0, 0, 1, 10, 30, 1, 10, 30, 0, 0, 0, 0, 0, 0, 0, 3, 5) print() print('10+ points & 5+ assists') query1(0, 0, 0, 1, 10, 30, 0, 10, 30, 1, 5, 20, 0, 0, 0, 0, 3, 5) print() print('2 2 2 1 1') query1(0, 0, 0, 1, 2, 40, 1, 2, 30, 1, 2, 20, 1, 1, 10, 1, 1, 10) print() print('Red') query2("Red") print() print("Black") query2("Black") print() print("DarkBlue") query2("DarkBlue") print() print("Duke") query3("Duke") print() print("UNC") query3("UNC") print() print("NCSU") query3("NCSU")