Untitled
unknown
plain_text
2 years ago
338 B
8
Indexable
def get_user_id_from_rating_email_unique_key(unique_key):
query = '''select * from rate_reservation_queue where unique_key = %s'''
binds = [unique_key]
rows = tinyAPI.dsh().query(query, binds)
return None if len(rows)==0 else rows[0]['user_id']
query_user_info = '''select user_id from user_info where unique_key = %s'''Editor is loading...